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.

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

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

me use Matlab.

Best Regards

T.

## ···

--

Troels Kofoed Jacobsen

tkjacobsen@...287...

tel: +45 20880798

savefig('test.eps') always works fine for me...

Cheers,

Alan Isaac

## ···

On Thu, 10 May 2007, Troels Kofoed Jacobsen apparently wrote:

My problem is that when i export the graphs

[savefig('test')]

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.

...

## ···

On Thursday 10 May 2007 02:39:51 pm Troels Kofoed Jacobsen wrote:

It is working great if I just use .eps

Thanks guys.,

## ···

On Thu, May 10, 2007 at 03:22:20PM -0400, Darren Dale wrote:

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.

...

--

Troels Kofoed Jacobsen

tkjacobsen@...287...

tel: +45 20880798