Displaying 2 results from an estimated 2 matches for "endpreview".
1998 May 01
0
R-beta: ps-graph in R and S confirmation
...the file down a bit
> using a script that Bill Venables and I called ps2eps.
> 
> #!/bin/sh
> infile=$1
> if [ $# -eq 2 ]
> then
> 	outfile=$2
> else
> 	outfile=`basename ${infile} .ps`.eps
> fi
> ps2epsi $infile /tmp/X$$.epsi
> sed -e '/^%%BeginPreview/,/^%%EndPreview/d' -e '/^%%EOF/d' < /tmp/X$$.epsi > $outfile
> rm -f /tmp/X$$.epsi
> exit 0
> 
-- 
Helgi Tomasson                                       FAX:  354-552-6806
University of Iceland                                PHONE:354-525-4571
Faculty of Economics and Business Administr...
1998 Apr 25
1
R-beta: postscript in R and R
I am creating postscript-graphics in R.  When I import them into
 a LATEX document it is impossible to get the caption close 
 to the figure.  I run the same program in Splus, and no problem
of getting the caption just below the figure.  Another thing,
the ps file that S created is only 10% of the size of the file
 that R created.  What is wrong?  Are there some parameters to
 be set?
Helgi