Re: [R] pdf plotting of splom
On 10/3/05, Sebastian Luque [EMAIL PROTECTED] wrote: Sebastian Luque [EMAIL PROTECTED] wrote: [...] pdf(splom-test.pdf, family = Times, bg = white) [...] Silly me, it occurred to me to check more carefully that bg argument, which does something different in xyplot (namely, give a background to the figure region, not the plot region as it seems to in this case). So, removing that bg argument was the answer. Sorry. This was a bug nonetheless (which shouldn't have had any effect unless you are using a recent r-devel), which has been fixed in the r-devel version of lattice. Deepayan __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] pdf plotting of splom
Hi, The following code produces a plot on X11: splom(~iris[1:4], groups = Species, data = iris, panel = panel.superpose, key = list(title = Three Varieties of Iris, columns = 3, points = list(pch = super.sym$pch[1:3], col = super.sym$col[1:3]), text = list(c(Setosa, Versicolor, Virginica However, when I try the same code in a pdf device (whether using 'print' or not), produces a pdf file with only the layout of all the panels. The panels are completely empty. pdf(splom-test.pdf, family = Times, bg = white) print(splom(~iris[1:4], groups = Species, data = iris, panel = panel.superpose, key = list(title = Three Varieties of Iris, columns = 3, points = list(pch = super.sym$pch[1:3], col = super.sym$col[1:3]), text = list(c(Setosa, Versicolor, Virginica) dev.off() Curiously, some points appear for a split second when opening the file, but they seem to be replaced by white space immediately, hence the totally empty panels. Any pointers as to what might be going on? I wasn't able to find possible explanations on the documentation or the archives. Thanks in advance, -- Sebastian P. Luque __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] pdf plotting of splom
Sebastian Luque [EMAIL PROTECTED] wrote: [...] pdf(splom-test.pdf, family = Times, bg = white) [...] Silly me, it occurred to me to check more carefully that bg argument, which does something different in xyplot (namely, give a background to the figure region, not the plot region as it seems to in this case). So, removing that bg argument was the answer. Sorry. Cheers, -- Sebastian P. Luque __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html