[R] formatting numbers along axes as percents for perspective plot

David Winsemius dwinsemius at comcast.net
Sat Jun 13 04:29:46 CEST 2009


Have you considered multiplying all values by 100?


On Jun 12, 2009, at 7:56 PM, Stephen Samaha wrote:

> Hello, I'm producing a 3D plot using the persp function. All my  
> values for X, Y, and Z are decimals ranging from 0 to 1. I'd like to  
> be able format the three axes so that the tick values are 0% 20%  
> 40%, etc... instead of just being 0 .2 .4. Does anyone know how to  
> do this?
>
> Many thanks,
>
> Steve


David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list