Dear Dr. M. Harun Ar Rashid,
> I have a postscript file that contains mutiple frames. Now, I want to split
> the postscript file in to a number of individual EPS figures, so that I can
> include them in to a Latex document. I used the command 'psplit' (at the
> unix promp) to do this, but psplit splits the file in to individual PS
> figures, rather than in to EPS figures. After reading the documentation, I
> was expecting 'psplit' to produce EPS figures. Has anyone else also
> experienced this problem; am I missing something here? Any help would be
> appreciated.
From the man page for "psplit":
"psplit" takes a PostScript file as input (that may have
multiple pictures) and splits it into individual PostScript
files having a single frame each. If the original file has
a %%BoundingBox comment in it, then that comment will be
inserted into each output file and the output files will be
EPS (encapsulated PostScript) conforming. If the original
file does not have a %%BoundingBox comment, then then output
files will not have one either. In that case, if you want
the output files to be EPS files, then use the "ps2epsi"
utility that is based on GhostScript.
Currently, if you are wanting EPS or EPSI files from NCAR
PostScript, the recommendation is to use "ps2epsi". If you
do not have access to "ps2epsi" (which can be downloaded
from http://www.cs.wisc.edu/~ghost/), you can replace the first
line in the files produced by "psplit" with:
%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox: 50 139 561 651
In this case the bounding box will delimit the entire viewport
of the output file and will, in most cases, not be the minimal
rectangle that encompasses all marks on the page as prescribed
by the definition of bounding box.
Fred Clare
---------------------------------------------
Fred Clare fred@ucar.edu 303-497-1284
Visualization & Enabling Technologies Section
NCAR Scientific Computing Division
---------------------------------------------
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Fri Oct 15 2004 - 16:07:43 MDT