[R] perspective plot

From: Mauro <mmauro_at_students.unibe.ch>
Date: Thu, 05 May 2011 09:09:24 -0700 (PDT)


I`m tryint to plot some variable over x and y coordinate, but can`t figure out hot to do it ( I could do a simple scatterplot3d, but there I can`t change the viewing angle).

My dataset looks something like this (dataframe):

        X Y Q95

21 2628711 1104437 0.7723994
22 2628721 1104437 0.5961789
23 2628731 1104437 1.2013182
24 2628741 1104437 1.3468632
25 2628751 1104437 1.1035517
26 2628761 1104437 1.0528809

Is there a way to plot Q95 over x and y? Something like persp(x,y,z) would be nice, but can`t figure out the right input format for this function.

Thanks a lot,


View this message in context: http://r.789695.n4.nabble.com/perspective-plot-tp3498754p3498754.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 05 May 2011 - 16:13:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 17:20:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive