I need to save a figure for importing into another application. I wrote
a module which creates a plot and then calls savefig to save the figure
as a .jpg. This works fine when I run the applicaiton stand alone, but
when I try to save a figure from another file (which happens to use wx),
it can't
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
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
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
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
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