Re: [Matplotlib-users] using savefig to save plot in desired size

2009-01-26 Thread Eric Firing
Abhinav Verma wrote: > Yes Eric this is what I wanted and Many thanks for your help. > > My question now extends a little. Due to this .. my yaxis label is > truncated in the png. How can I make sure that my figure is square and > also contains everything. Is it possilbe? There is no standard

Re: [Matplotlib-users] using savefig to save plot in desired size

2009-01-25 Thread Abhinav Verma
Yes Eric this is what I wanted and Many thanks for your help. My question now extends a little. Due to this .. my yaxis label is truncated in the png. How can I make sure that my figure is square and also contains everything. Is it possilbe? Thanks again, On Mon, Jan 26, 2009 at 8:42 AM, Eric F

Re: [Matplotlib-users] using savefig to save plot in desired size

2009-01-25 Thread Abhinav Verma
stupid me.. I found the solution which is to use figure parametrs.. rcParams['figure.figsize'] = (6,6) or something like that.. well now I extend my question , i.e., how to make sure that my axis labels are not truncated due to this? On Mon, Jan 26, 2009 at 8:21 AM, Abhinav Verma wrote: > Hel

Re: [Matplotlib-users] using savefig to save plot in desired size

2009-01-25 Thread Eric Firing
Abhinav Verma wrote: > Hello, > > It may be a very basic question, but I could not find the solution in > archives or the documentation. I need to make a line plot (in square > aspect ratio) and then save the figure which is also square in size, > i.e. like 600x600 pixels and not 800x600. How

[Matplotlib-users] using savefig to save plot in desired size

2009-01-25 Thread Abhinav Verma
Hello, It may be a very basic question, but I could not find the solution in archives or the documentation. I need to make a line plot (in square aspect ratio) and then save the figure which is also square in size, i.e. like 600x600 pixels and not 800x600. How can I acheive this? to get the squ