[R] Help on plotting a 3 dimensional surface

From: Tor Jørund Sund <tjsund_at_suvitek.no>
Date: Sat 03 Jun 2006 - 19:54:55 EST


Im working on my master thesis, I need to get a plot currents distributed over a surface.

I have the data listed in a dataframe with the x coordinates, y coordinates and the value.

Im using the persp function but I’ve not found out how to put the data into the z1 variable  

es <-read.table("RDatalog_pass_dev_1_wafers_1_8V.txt",header=T,sep="\t")

x1 <- seq(0,40, length=40)

y1 <- x1

z1 <- ? (es[,5]is the column with the data, es[,3] is the x coocdinate, and es[,2] is the y coocrdinate]


I will appreciate all help because this will be a nice thing to present in my report.  

Tor J.

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 03 20:02:59 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 04 Jun 2006 - 00:10:29 EST.

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