[R] Perspective axes

Duncan Murdoch murdoch at stats.uwo.ca
Thu Sep 28 12:56:14 CEST 2006


On 9/28/2006 6:40 AM, John Logsdon wrote:
> Is there a way to get the axes labels for a persp() plot to show the
> actual values employed?  ticktype='detailed' only shows a scale from 0 to
> 1.  My values are (for example) y in 0.2-0.7, x in 450-560 and I would
> like to suppress the z labels.  
> 
> How can I get the x and y values to appear on the plot?

You could try persp3d in the rgl package; it has more flexibility about 
labels (but not as much as most R graphics:  you can't change fonts, for 
instance).

Duncan Murdoch



More information about the R-help mailing list