Re: [R] problems with postscript device

About this list Date view Thread view Subject view Author view

Alvaro A. Novo (novo@uiuc.edu)
Tue, 23 Nov 1999 09:07:52 -0600



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@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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Tue 04 Jan 2000 - 13:34:01 EST