From: Christopher B. <Chr...@no...> - 2006-03-06 17:53:53
|
Nikolai Hlubek wrote: > Wouldn't another 'axis' option make the > whole thing more consistent? <soapbox> Using the OO interface everywhere would make the whole thing more consistent: fig = pylab.figure(1) ax = fig.add_subplot(111) ax.set_xlim(-0.25,2.0) ax.set_ylim(0.0,1.3) ax.set_aspect('scaled', True) ax.set_autoscale_on(False) ax.plot((0,.2,.3,.4,1.5), (0,.5,.3,.92,.48)) <\soapbox> -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |