[Rd] Interest in R plotting capabilities

Telford Tendys telford@progsoc.uts.edu.au
Mon, 7 Feb 2000 13:01:32 +1100

> image(x,y,z, col=gray(0:19/19),xlab="x", ylab="y")
> contour(x,y,z,xlab="x", ylab="y")
> persp(x,y,z, col="gray")

Thanks, I've had a play with some of these and they look good.
A very minor bug report is that the help for contour says that the
source is in `$RHOME/src/main/plot.c' but it is actually in
`$RHOME/src/main/plot3d.c' (might as well be fixed until someone
makes real documentation). One other thing is that the contour()
command will only draw contours where the x and y dimensions match.
I went through the code and found the check that generates the error
but there is no comment to explain why the check was put in there
but it could be a simple thing to extend it to rectangular grids.

	- Tel
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch