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) 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> From: "Alvaro A. Novo" <novo at uiuc.edu>Alvaro A. Novo wrote:> > I would suggest that you use instead: > > plot(1:10,1:10,pch=1:5, cex=0.4) > ^^^^^^^ > > cex = 1 being the default.You have to look at the postscript file, that is generated by the commands I gave in my mail! The problem is that, even when using cex=0.4, the symbols have a different size! Also, symbol number 1 (the circle) is *not* effected by the cex-option (maybe because it is too small to be made any smaller). This all concerns only the postscript device. The only solution I see is not to use the circle-symbol for the postscript device 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._