eps figure size from sddsplot

Moderators: cyao, michael_borland

Post Reply
libov
Posts: 32
Joined: 30 May 2013, 07:14

eps figure size from sddsplot

Post by libov » 05 Feb 2014, 11:08

Hi Michael,

another stupid question: how do I control the figure size ("paper size") when using, say, the -device=ceps? (sorry couldn't find it in the manual..)

So far I'm always getting quite small plots which are not so high quality if one zoomes in.
This file should illustrate the problem: http://www-zeus.desy.de/~libov/download ... ctions.eps

Thanks in advance!!

Slava

libov
Posts: 32
Joined: 30 May 2013, 07:14

Re: eps figure size from sddsplot

Post by libov » 07 Feb 2014, 05:22

Edit: I found how to produce large plots with png device (say device=lpng) but the resolution is still not great.
How do I control the graphic resolution?
Thanks!
S.

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: eps figure size from sddsplot

Post by michael_borland » 21 Mar 2014, 16:47

Slava,

You can try -device=cpostscript (color postscript). There's really no way to change the page size. I think the EPS quality is ok when zoomed in. Perhaps you are using thick lines on the sddsplot command, which will make the text blocky.

For PNG, the only way to improve resolution is to increase size. Try hpng (huge PNG).

--Michael

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: eps figure size from sddsplot

Post by michael_borland » 21 Mar 2014, 17:01

To follow up, line thickess is controlled in three ways:

-thickess=<integer> sets the default thickness for everything except -graphics
The thickness=<integer> qualifier can be given for -graphic, -axes, -xlabel, -ylabel, -topline, -title, and -legend
The xthickness and ythickness qualifiers can be given for -ticks and -subticks.

If you want to highest resolution on the labels and such, avoid the global thickness controls and use only those you need.

--MIchael

Post Reply