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');
title(sys.argv[1][:-4]);
savefig('eps/'+sys.argv[1][:-4]+'.eps')
savefig('png/'+sys.argv[1][:-4]+'.png')

Cheers,
Forrest

On Fri, Feb 29, 2008 at 5:53 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote:

> 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 email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>



-- 
Forrest Sheng Bao
Ph.D. student, Dept. of Computer Science
M.Sc. student, Dept. of Electrical & Computer Engineering
Texas Tech University, USA
http://fsbao.net
1-806-577-4592

Forrest is an equal opportunity Email sender.
1. You are encouraged to use the language you prefer. Beyond English, I can
also read traditional/simplified Chinese and a bit German.
2. I will only send you files that can be opened by free or open source
software.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to