[R] PostScript scatter plot, losing points at RHS

Jonathan Campbell jonathan.campbell at gmail.com
Sat Apr 9 17:24:53 CEST 2005


I'm using the following sequence to plot a scatter plot to PostScript.
Those familiar with the Iris LDA example in MASS will recognise what
I'm at.

> postscript("hulda.eps", horizontal=FALSE, onefile=TRUE, height=6, width=6, pointsize=8, paper="special")

> plot(hu.ld, type = "n", xlab= "first linear discriminant", ylab="second linear discriminant" )

> text(hu.ld, labels = as.character(hu.species))

All fine except that, compared to the screen plot (apparently
correct), 13 data points are missing on the right hand side.

There is space for them, i.e. the plot is simply blank where they
should be; and extending the height and width makes no difference.

Version 1.9.0  (2004-04-12); running on Linux Fedora Core 2.

TIA,

Jon C.

-- 
Jonathan G Campbell  http://www.jgcampbell.com/ +44 (0)7974 663 262




More information about the R-help mailing list