Re: [Matplotlib-users] how to set figure size

2006-11-07 Thread John Hunter
> "Ryan" == Ryan Krauss <[EMAIL PROTECTED]> writes: Ryan> You have two options. savefig does have a dpi option that Ryan> will essentially set the figure size for the saved file: Ryan> savefig('myfile.png',dpi=300) Ryan> play with dpi until you get a figure size you like.

Re: [Matplotlib-users] how to set figure size

2006-11-07 Thread Ryan Krauss
You have two options. savefig does have a dpi option that will essentially set the figure size for the saved file: savefig('myfile.png',dpi=300) play with dpi until you get a figure size you like. The other way to set the figure size is to specify it when you create the figure: figure(1,(10,8))

[Matplotlib-users] how to set figure size

2006-11-06 Thread Chuang
Hi there, I want to automatically generated hundreds of figures with matplotlib. For each figure, I could use 'plot(Xi)' and 'show()' to draw the figure, and press the 'save' button in the figure panel, but this is not too automatically. Although I could use 'savefig()' to save the figures rather