[R-SIG-Mac] another plot problem in 2.7.0 beta

William Revelle lists at revelle.net
Fri Apr 11 18:49:44 CEST 2008


Simon and the  R-Gui developers,

Testing the 2.7.0 beta releaase for graphic features

R version 2.7.0 beta (2008-04-10 r45232)
i386-apple-darwin8.10.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

The previous problem of mirror images has been fixed., but

the command
plot(1:5,1:5) #produces the expected graph on the Quartz display

But,
quartz(type="pdf")
plot(1:5,1:5) # just draws a single point  (although it make actually 
draw an invsible point, see below)
dev.off()

But
  quartz(type="pdf")
curve(cos(x),-6,6) #shows a line, one point, and gaps where the other 
points should be
dev.off()

Even more interesting is
  quartz(type="pdf")
  x <- seq(-10,10,1)
y <- x^2
  plot(x,y,type="b")
  dev.off()
#where we find that some of the points are there, some are partly 
there, and some are missing.

Good luck.
And of course, thanks for all the wonderful work.

Bill

-- 
William Revelle		http://personality-project.org/revelle.html
Professor			http://personality-project.org/personality.html
Department of Psychology             http://www.wcas.northwestern.edu/psych/
Northwestern University	http://www.northwestern.edu/
Use R for statistics:                          http://personality-project.org/r



More information about the R-SIG-Mac mailing list