try ax1.axis(v)
-JJ On Sun, Feb 7, 2010 at 5:16 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: > The segment below is supposed to plot two columns of (x,y) data and do > it in an area 640x480. Apparently, I'm missing how to use v to get this > done. It dies at col.axis(v) with list object has no attribute 'axis'. > From looking at some MPL examples, it's not clear to me how one uses > axis here. I might have needed axes, but that doesn't work either. > Comments? > > > ... > trk_stats = (amin, amax, mean, std, per_tile25, per_tile50, > per_tile75) > fig = figure() > ax1 = fig.add_subplot(111) > v = (0, 640, 0, 480) > print "shapes: ", xy[:,0].shape, xy[:,1].shape > col = ax1.plot(xy[:,0], xy[:,1]) > col.axis(v) > show() > print "something for wtw plot" > print > return trk_stats > > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users