|
From: Dieter J. <die...@t-...> - 2005-07-21 10:05:07
|
Dear listmembers,
I have to admit that I did not read the docs thoroughly enough; the problem=
=20
arises from the fact that I had been searching for a line attribute "dash"=
=20
among the line styles but should have searched among the terminal=20
capabilities. This is the way it is with gnuplot as many attributes are=20
restricted to the terminal's capability; however, it would be nice to have =
a=20
little one-liner hint within "help set style line" or "help plot with ".
Converting gnuplot output from ps to pdf (set terminal postscript=20
enhanced ...) via ghostscript (either ps2pdf or better epstopdf) I found =
=A0=20
that the default bounding box in XXX.ps out of gnuplot, XXX.ps being the=20
output causes somewhat too large distances between the figure and the=20
caption /and / or the preceeding text in TeX (matter of taste, though ...).=
=20
This can be shown by putting a \framebox around the included figure.
To circumvent this I suggest the following procedure which (might) be of=20
interest for other folks, too. I send the short script "dummy.plt" as an=20
attachement because my mailer wraps the lines wildly what might disturb the=
=20
functionality. This script implies the usage of epstopdf, it does not work=
=20
with ps2pdf. You need both sed and ghostscript installed.
The contents of the ps - file is filtered by sed, the BoundingBox size is=20
replaced by a different one that is achieved from gs -sDEVICE=3Dbbox.
The procedure has been tested in linux, should work in any Unix. Using=20
Windows, you might have to manually call ghostscript and manually edit the=
=20
ps-file before converting it into pdf.
Take care
Dieter Jurzitza
=2D-=20
=2D----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<=B0=B0__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
=2D----------------------------------------------------------
|