Further option would be scatterplot3d in {scatterplot3d} which does provide facility for sending a vector of axis labels to the x,y, and z axes.

David
On Jun 12, 2009, at 10:48 PM, Stephen Samaha wrote:

Hi, that's what I did for the time being. Ideally, I'd like to have the % sign after the numbers though. It's not a problem to format a regular 2D plot with percents but I still can't figure it out with the persp function.

Steve

--- On Fri, 6/12/09, David Winsemius <dwinsem...@comcast.net> wrote:

From: David Winsemius <dwinsem...@comcast.net>
Subject: Re: [R] formatting numbers along axes as percents for perspective plot
To: "Stephen Samaha" <ssamaha2...@yahoo.com>
Cc: r-help@r-project.org
Date: Friday, June 12, 2009, 7:29 PM

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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to