Hi, the same problem occurred, when I also tried to plot some chaos systems the solution I found (and works just fine) is to comment axes.py:2131 I didn't send a patch, 'cos I'm not sure that it wasn't really an common bug (I played with my overall python distribution)
some OT: 1) trajectories -> you could use pydoc numpy.hsplit 2) IMHO to plot chaotic behaviour with iterations over 500k the matplotlib on an ordinary computer is a little bit slow compared to creating a data file and using gnuplot ... Karol On Fri, Jan 12, 2007 at 11:17:30AM +0100, Mico Filós wrote: > Hi all > > I am trying to plot the trajectory of the Lorenz system with the axes3d.py > module (version 0.87.7). The code is the following: > ... > > I get however some errors related with the autoscale_view() method (see > below). > I have two questions: Is plot3D the correct choice for plotting a 3D > curve? In that case, is there any way to fix these errors? > > Thanks a lot for your help and for making matplotlib possible, > > dani > > Errors (pdb output): > > lorenz.py > ---> 42 plot3D(x,y,z) > > /usr/lib/python2.4/site-packages/matplotlib/axes3d.py in plot3D(self, > xs, ys, zs, *args, **kwargs) > 488 def plot3D(self, xs, ys, zs, *args, **kwargs): > 489 had_data = self.has_data() > --> 490 lines = Axes.plot(self, xs,ys, *args, **kwargs) > 491 if len(lines)==1: > 492 line = lines[0] > > /usr/lib/python2.4/site-packages/matplotlib/axes.py in plot(self, > *args, **kwargs) > 2129 lines = [line for line in lines] # consume the generator > 2130 > -> 2131 self.autoscale_view(scalex=scalex, scaley=scaley) > 2132 return lines > > TypeError: autoscale_view() got an unexpected keyword argument 'scalex' > > /usr/lib/python2.4/site-packages/matplotlib/axes.py(2131)plot() > 2130 > -> 2131 self.autoscale_view(scalex=scalex, scaley=scaley) > 2132 return lines > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users