For the 2nd one;

To re-position the figure content you might use axis(xmin= , xmax= )

On Mon, Jul 27, 2009 at 3:06 PM, Gewton Jhames <> wrote:
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 graph was set to red only to you see the padding.
  2. In the file attached to this email, the graph have a space after the position 23:00, I wish to remove it.

On Mon, Jul 27, 2009 at 1:37 PM, Jae-Joon Lee <> wrote:
On Mon, Jul 27, 2009 at 11:55 AM, Tony S Yu<> 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 added spine support,
because using the AxesGrid toolkit has some side-effects.




Matplotlib-users mailing list