[R] axis labels and ticks in persp

Bill Simpson wsi at gcal.ac.uk
Tue Jan 19 16:26:10 CET 1999


> 2. To be be consistent with image(), I think persp should make z the axis
> it now calls y (and vice versa). By this I mean that image() is just a
> view of the same object except from exactly overhead (on the z axis), and
> this z axis is called y by persp.
Sorry, I see now that this behaviour is caused by
title(ylab="y")
which just puts the y-axis label in the wrong place for a 3D plot
(persp's z-axis). So this method of adding axis labels doesn't work very
well for persp() plots.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list