[R] problems with postscript device

Martin Maechler maechler at stat.math.ethz.ch
Tue Nov 23 16:47:45 CET 1999


>>>>> "WoKo" == Wolfgang Koller <koller2 at fgr.wu-wien.ac.at> writes:

    WoKo> Hi!  The postscript device in 0.90 does not produce symbols
    WoKo> (pch=) as it should. E.g.:


    WoKo> postscript(file="test.ps",width=8,height=6.4,horizontal=FALSE)
    WoKo> plot(1:10,1:10,pch=1:5)
    WoKo> legend(1,9,letters[1:5],pch=1:5)
    WoKo> dev.off()

    WoKo> The result looks quite different compared to the X-windows
    WoKo> version.  The symbol 1 (pch=1) is much to small, while the other
    WoKo> symbols seem to big.

    WoKo> Is it a bug?
yes, definitely.
there's a second (less severe) bug, too :

The second symbol (triangle)
is \Delta /\  on x11 (and postscript in R <= 0.65)
          --    __
but is \Lambda  \/  for postscript in R 0.90.0..

    WoKo> How can I work it around?

as you said: by not using  pch=1.... :-)
a patch will probably appear "soon"...

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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