[R] persp plot question..

Colin Gillespie coling at stams.strath.ac.uk
Thu Oct 26 12:46:43 CEST 2000


Dear All,
	I have been trying to to do this for a few days now. I can generate
persp plot OK and can generate it in colour using the command

persp(x,y,z,col=terrain.colors(20))

However, I was wondering if it is possible to shade the 3d surface like a
contour plot. i.e. black for large z, white for small z, say

Thanks in advance

Colin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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