Re: [Matplotlib-users] how to change the aspect ratio of a plot

2008-02-29 Thread Forrest Sheng Bao
Well, I want a way that I can use some function or an option/parameter of a function to do that. The code I am using to plot is like this: x = range(0,len(data)); lines = plot(x, data); setp(lines, linewidth=0.5) axis('tight') grid(True); xlabel('sampling points'); ylabel('quantilized steps'); ti

Re: [Matplotlib-users] how to change the aspect ratio of a plot

2008-02-29 Thread Alan G Isaac
On Fri, 29 Feb 2008, Forrest Sheng Bao apparently wrote: > I wanna know how to change the aspect of my > plot in my program. Call set_aspect on a axes instance; then call apply_aspect. hth, Alan Isaac - This SF.net ema

[Matplotlib-users] how to change the aspect ratio of a plot

2008-02-29 Thread Forrest Sheng Bao
Hi guys, I am quite new to matplotlib. I wanna know how to change the aspect of my plot in my program. I don't wanna change it by toolbar coz there are thousands of data that I can't change them one by one by myself. Thanks, Forrest -- Forrest Sheng Bao Ph.D. student, Dept. of Computer Science