Darran Edmundson wrote: > Two simple questions: > > 1) How does one create a simple xy plot with a user-specified y-axis > range? Combination of setting kwargs ylim and autoscale_on doesn't seem > to do it ...
pylab.ylim( (ymin, ymax) ) or pylab.gca().set_ylim( (ymin, ymax) ) ? > 2) If I want to regenerate this plot with revised y data (but same > axes), what is the quickest option? At the moment I'm doing an > ax.clear(), presumably tossing out everything and starting from scratch. I do it this way - just replot everthing ... > As always, any help is much appreciated. > > Cheers, > Darran. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users