[R] R 2.70 + ps2pdf14

From: ivo welch <ivowel_at_gmail.com>
Date: Sat, 17 May 2008 21:33:35 -0400

dear R graphics experts---if anyone is running the combination of R 2.7.0 and ghostscript (2.62), could you please run the following and let me know if you get the same strange symbol size that I do, or if there is something weird on my system? regards, /ivo

pdf(file = "testhere.PDF", version="1.4", pointsize=14);

plot(0, xlim=c(0,26), ylim=c(-1,4.5), type="n" );

text(10, -0.5, "line 1 is plain, line 2 should be the same, except blue\nline 3 should be 1.5 times the size of line 1, but otherwise the same\nline 4 should be like line 4 except blue.\n\nthis gets weird symbol sizes at certain spots after ps2pdf14 is applied\n --- R output or ps2pdf error?", cex=0.5);

points(1:25,rep(1,25), pch=1:25);
points(1:25,rep(2,25), pch=1:25, col="blue");

points(1:25,rep(3,25), pch=1:25, cex=1.5); points(1:25,rep(4,25), pch=1:25, col="blue", cex=1.5);

text(1, 0.2, "1 != 2", srt=90, cex=0.5);
text(16, 0.2, "1 != 2", srt=90, cex=0.5);
text(19, 0.2, "3 != 4, 1 != 2", srt=90, cex=0.5);
text(20, 0.2, "(1,2) > (3,4)", srt=90, cex=0.5);

#text(20, 0.4, "shrunk on cex=1.5", srt=90);


retcode= system( "ps2pdf14 testhere.PDF" );

# now look at testhere.PDF.pdf , which is the ps2pdf14 output ;

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 18 May 2008 - 01:54:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 18 May 2008 - 18:30:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive