[R] PostScript scatter plot, losing points at RHS

From: Jonathan Campbell <jonathan.campbell_at_gmail.com>
Date: Sun 10 Apr 2005 - 01:24:53 EST

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

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sun Apr 10 01:33:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:05 EST