Re: [R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-20 Thread Paul Murrell
Hi I think the problem is that, as David Carlson pointed out, ellipses() works by redrawing the plot and adding more to it. This means that your PDF version has *two pages*, one with the original plot, then another with the plot-plus-ellipses. Paul On 10/15/14 10:20, Rich Shepard wrote:

Re: [R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-15 Thread Rich Shepard
On Wed, 15 Oct 2014, David L Carlson wrote: I haven't looked at the source so I don't know exactly what is going on, but I think I have a work around: plot(winters.acomp, main="Winters Creek", cex=0.5) pdf("winters-pdf.pdf") ellipses(mean=mn, var=vr, r=r, steps=72, thinRatio=NULL, aspanel=FAL

Re: [R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-15 Thread Rich Shepard
On Wed, 15 Oct 2014, David L Carlson wrote: I haven't looked at the source so I don't know exactly what is going on, but I think I have a work around. While running your example I noticed that ellipse() does not just add the ellipse to the plot produced by plot(), it replots the figure. However,

Re: [R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-15 Thread David L Carlson
Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Rich Shepard Sent: Tuesday, October 14, 2014 4:21 PM To: r-help@r-project.org Subject: [R] Ternary Plots Do Not Display Ellipses in PDF A rather strange situation here and I've not fo

Re: [R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-14 Thread Rich Shepard
On Wed, 15 Oct 2014, Rolf Turner wrote: In all probability this is FAQ 7.22. I.e. use: print(ellipses(mean=mn, var=vr, r=r, steps=72, thinRatio=NULL, aspanel=FALSE,col='red', lwd=2)) Rolf, Thank you. Didn't occur to me to look in the FAQ for this issue. P. S. See also fortun

Re: [R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-14 Thread Rolf Turner
In all probability this is FAQ 7.22. I.e. use: print(ellipses(mean=mn, var=vr, r=r, steps=72, thinRatio=NULL, aspanel=FALSE,col='red', lwd=2)) cheers, Rolf Turner P. S. See also fortune(123). R. T. On 15/10/14 11:00, Rich Shepard wrote: A rather strange situation here and

[R] Ternary Plots Do Not Display Ellipses in PDF

2014-10-14 Thread Rich Shepard
A rather strange situation here and I've not found the source of the problem. The point is to print a ternary plot matrix of compositional data with ellipses enclosing 95% of the variance in each plot. The ellipses display on the monitor, dev = x11cairo, but not when sent directly to a file,