Re: [Matplotlib-users] Design questions

2009-08-03 Thread Gewton Jhames
plt.subplots_adjust combined with ajustments in fig.set_size_inches is finally working. On Fri, Jul 31, 2009 at 11:55 AM, Tony S Yu ton...@mit.edu wrote: On Jul 30, 2009, at 5:16 PM, Gewton Jhames wrote: Anyone? On Tue, Jul 28, 2009 at 3:23 PM, Gewton Jhames gjha...@gmail.com wrote: Guys,

Re: [Matplotlib-users] Design questions

2009-07-31 Thread Tony S Yu
On Jul 30, 2009, at 5:16 PM, Gewton Jhames wrote: Anyone? On Tue, Jul 28, 2009 at 3:23 PM, Gewton Jhames gjha...@gmail.com wrote: Guys, there is the code. On Tue, Jul 28, 2009 at 3:13 PM, Gewton Jhames gjha...@gmail.com wrote: Jae-Joon Lee, savefig(file.png, bbox_inches=tight) doesn't

Re: [Matplotlib-users] Design questions

2009-07-30 Thread Gewton Jhames
Anyone? On Tue, Jul 28, 2009 at 3:23 PM, Gewton Jhames gjha...@gmail.com wrote: Guys, there is the code. On Tue, Jul 28, 2009 at 3:13 PM, Gewton Jhames gjha...@gmail.com wrote: Jae-Joon Lee, savefig(file.png, bbox_inches=tight) doesn't work too. On Mon, Jul 27, 2009 at 7:00 PM, Jae-Joon

Re: [Matplotlib-users] Design questions

2009-07-28 Thread Gewton Jhames
John Hunter, ax.autoscale_view(tight=True, scaley=False) didn't work. I put it before and after plot. Didn't work in any case. the first one, fig.subplots_adjust(left=0.05, bottom=0.05, top=0.05, right=0.05), didn't work too. It let's the graph crazy. If you want, I can put the code here. On Mon,

Re: [Matplotlib-users] Design questions

2009-07-28 Thread Gewton Jhames
Jae-Joon Lee, savefig(file.png, bbox_inches=tight) doesn't work too. On Mon, Jul 27, 2009 at 7:00 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Mon, Jul 27, 2009 at 4:06 PM, Gewton Jhamesgjha...@gmail.com wrote: How to trim the canvas of the image generated? It's transparent, but still

Re: [Matplotlib-users] Design questions

2009-07-28 Thread Gewton Jhames
Guys, there is the code. On Tue, Jul 28, 2009 at 3:13 PM, Gewton Jhames gjha...@gmail.com wrote: Jae-Joon Lee, savefig(file.png, bbox_inches=tight) doesn't work too. On Mon, Jul 27, 2009 at 7:00 PM, Jae-Joon Lee lee.j.j...@gmail.comwrote: On Mon, Jul 27, 2009 at 4:06 PM, Gewton

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
thanks!! only 4 left. On Mon, Jul 27, 2009 at 11:31 AM, Gökhan SEVER gokhanse...@gmail.comwrote: For the 5th one ;) figure(frameon=False) On Mon, Jul 27, 2009 at 8:26 AM, Gewton Jhames gjha...@gmail.com wrote: Hello, would you help me in some design issues that I wish to put in my

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Jae-Joon Lee
On Mon, Jul 27, 2009 at 11:55 AM, Tony S Yuton...@mit.edu wrote: The 3rd issue is a bit more difficult. One approach is to use Jae-Joon's AxesGrid toolkit; you may need to be using the latest development version of matplotlib to use the toolkit. I think it would be easier to use the recently

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
Thanks everyone. Everything works perfectly. Only a few things left: 1. How to trim the canvas of the image generated? It's transparent, but still have a padding, if it would be cropped, I can safe almost 200px!. I have attached a file to this email to show it, the background of the

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
That's right Gökhan, I should have thought on it before ask. Thanks. Only the first one remains... this one I could not find a way. I know there is one class called FigureCanvasAgg, but I didn't find anything on it. On Mon, Jul 27, 2009 at 5:16 PM, Gökhan SEVER gokhanse...@gmail.com wrote: For

Re: [Matplotlib-users] Design questions

2009-07-27 Thread John Hunter
On Mon, Jul 27, 2009 at 10:55 AM, Tony S Yuton...@mit.edu wrote: Below is some code to do 1, 2, and 4. The 3rd issue is a bit more difficult. One approach is to use Jae-Joon's AxesGrid toolkit; you may need to be using the latest development version of matplotlib to use the toolkit. BTW, does

Re: [Matplotlib-users] Design questions

2009-07-27 Thread John Hunter
On Mon, Jul 27, 2009 at 3:06 PM, Gewton Jhamesgjha...@gmail.com wrote: Thanks everyone. Everything works perfectly. Only a few things left: How to trim the canvas of the image generated? It's transparent, but still have a padding, if it would be cropped, I can safe almost 200px!. I have

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Jae-Joon Lee
On Mon, Jul 27, 2009 at 4:06 PM, Gewton Jhamesgjha...@gmail.com wrote: How to trim the canvas of the image generated? It's transparent, but still have a padding, if it would be cropped, I can safe almost 200px!. I have attached a file to this email to show it, the background of the graph was