On Thursday 10 May 2007 02:39:51 pm Troels Kofoed Jacobsen wrote:
> I want to make some good vector graphs to include in LaTeX.
>
> I use
> backend           : PS
> ps.papersize      : auto
> ps.usedistiller   : xpdf
>
> My problem is that when i export the graphs [savefig('test')] the
> exported graph is in the middle of a large page, which isn't suitable
> for inclusion in LaTeX.

ps.papersize: auto picks the smallest standard papersize that will accommodate 
your figure.

> How can I make the page the same size as the graph?

Try saving an eps file instead.

> Please help me. Matplotlib makes the nicest graphs i know -- don't make
> me use Matlab.

...

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to