[R] Surface Graphic

Marcos Sanches marcos_sanches at gallup.com
Thu May 2 23:25:18 CEST 2002

Hello list!

I have a problem with the function 'persp'. I have a data set with the
X -> The X coordenate of the insect
Y -> The Y coordenate of the insect
deep-> how deep the insect buried into the soil.

I would like to have a plot with a surface simulating the way the insect
buried. Is it possible? If I type


R gives me this error message

Error in persp.default(X, Y, deep) :
        increasing x and y values expected

How do I overcome this?



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