Hi,

I'm new to R and am learning the ropes of r-help and programming.

I'm attempting to plot a 2-D mesh in 3-D using the persp function.  I've
positioned the graph using phi and theta, but I'm having trouble overlaying
color onto the actual surface according to the surface's "z" values.  I've
tried the "col" feature but it doesn't put a flowing color gradient on the
entire surface...

Additionally, the xlab and ylab labels are appearing squished on the outer
edges of the chart.  Is there any way to get rid of the arrow along the
axes and replace them with ticks and labels? "nticks" wasn't working...

Is persp the best way to 3-D plot a 2-D array where I can overlay color??

Any guidance would be greatly appreciated.

Thanks for your consideration.

Jake

        [[alternative HTML version deleted]]

______________________________________________
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