Dear Mr. Br=F6ker,
dear listmembers,
test on your own. Using dummy.plt as I have been providing with my last ema=
il=20
but replacing "set terminal postscript enhanced landscape" by "set terminal=
=20
postscript eps" using gnuplot-4.1.0:
gs -sDEVICE=3Dbbox ...
gives me a bounding box of 48 39 399 293 for dummy.ps, (1)
the orignial file dummy.ps created by gnuplot contains a bounding box=20
information of 50 50 410 302 (2)
using epstopdf on the file containing BoundingBox (1) results in an=20
appropriate picture, all arrows remain visible in the pdfoutput.
In contrast, applying ps2epsi followed by ps2pdf on the output file contain=
ing=20
the BoundingBox (2) results in arrows cut out of the visible range.
Calling gs with sDEVICE=3Dbbox actually does not care for any given=20
bbox-information in the file but computes them from the raw ps data - and=20
those are correct. Looking into the actual pdf-files shows that the MediaBo=
x=20
information differs in both cases (what is expected due to the differences =
in=20
appearance).
But maybe I did another error, so, if you find the time, I appreciate if yo=
u=20
can recheck.
The way I suggested may be complex - but it works.
Take care
Dieter Jurzitza
Am Donnerstag, 21. Juli 2005 15:40 schrieb Hans-Bernhard Broeker:
> Dieter Jurzitza wrote:
> Careful here. "set term post enhanced" is not meant to give you any
As mentioned above. gs -sDEVICE=3Dbbox does not care for the actual Boundin=
gBox.=20
It computes a new one based on the real graph data.
> That seems overly complicated --- ghostscript already comes with a
> script that automatically calculates a "perfect" bounding box. It's
> called ps2epsi, and I'm almost completely sure that other tools already
> exist which do similar work. I.e. you could just ps2epsi | ps2pdf
See commentary above
=2D-=20
=2D----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<=B0=B0__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
=2D----------------------------------------------------------
|