Rado,
When producing a graphics file, it is important to issue dev.off() to
complete the file. Perhaps you did omitted this?
Your session should look like:
> postscript("xx.eps", horizontal=FALSE, onefile=FALSE,
+ height=6, width=10, pointsize=10)> barplot(xx.dat)
> dev.off()
-Greg
> -----Original Message-----
> From: Rado Bonk [mailto:rbonk at host.sk]
> Sent: Friday, August 30, 2002 9:28 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] postscript() problem
>
>
> Hi R-users,
>
> R to produce
> EPS graphics for LATeX document. When checking the graphics
> with "gv" I
> see that it was not produced with full details. The main graphic is
> there, but axes labels and titles are missing. While checking
> the xx.eps
> file with text editor I see that the xx.eps file was not produced
> correctly and with full details. It's clearly missing some last lines.
>
> Example of "tail xx.eps":
> ###example###
> /ps 10 def R 10 s
> 100.97 244.54 (jan) 0.50 0.00 0.00 t
> 138.91 244.54 (feb) 0.50 0.00 0.00 t
> 176.85 244.54 (mar) 0.50 0.00 0.00 t
> 214.79 244.54 (apr) 0.50 0.00 0.00 t
> 252.73 244.54 (maj) 0.50 0.00 0.00 t
> 290.67 244.54 (jun) 0.50 0.00 0.00 t
> 328.61 244.54 (jul) 0.50 0.00 0.00 t
> 366.55 244.54 (aug) 0.50 0.00 0.00 t
> 404.49 244.54 (sep) 0.5
> ###example###
>
> Where is oct., nov. and so on??? The graphical output using
> x11() driver
> is correct.
>
>
> Thanks,
>
> Rado
>
>
> --
> Radoslav Bonk M.S.
> Dept. of Physical Geography and Geoecology
> Faculty of Sciences, Comenius University
> Mlynska Dolina 842 15, Bratislava, SLOVAKIA
> tel: +421 2 602 96 250 e-mail: rbonk at host.sk
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> r-help mailing list -- Read
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To:
> r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
>
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be
privileged. It is intended for the addressee(s) only. Access to this E-mail by
anyone else is unauthorized. If you are not an addressee, any disclosure or
copying of the contents of this E-mail or any action taken (or not taken) in
reliance on it is unauthorized and may be unlawful. If you are not an addressee,
please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._