[R] problems with postscript device

Alvaro A. Novo novo at uiuc.edu
Tue Nov 23 16:07:52 CET 1999


On Tue, 23 Nov 1999, Wolfgang Koller wrote:
> Hi!
> 
> The postscript device in 0.90 does not produce symbols (pch=) as it 
> should. E.g.:
> 
> 
> postscript(file="test.ps",width=8,height=6.4,horizontal=FALSE)
> plot(1:10,1:10,pch=1:5)

I would suggest that you use instead:

 plot(1:10,1:10,pch=1:5, cex=0.4)
			 ^^^^^^^

cex = 1 being the default.

Alvaro A. Novo

> legend(1,9,letters[1:5],pch=1:5)
> dev.off()
> 
> The result looks quite different compared to the X-windows version. 
> The symbol 1 (pch=1) is much to small, while the other symbols 
> seem to big.
> 
> Is it a bug? How can I work it around?
> 
> 
> Wolfgang Koller
> 
> 
> 
> ----------------------------------------------------------
> Wolfgang Koller,  koller2 at fgr.wu-wien.ac.at
> Forschungsinstitut fuer Europafragen
> Wirtschaftsuniversitaet Wien
> Althanstrasse 39-45, 1090 Wien, Austria
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list