On 3/27/2009 9:57 AM, bastian250...@freenet.de wrote:
Hello,

I would like to create a 3D plot with the following data formats:

a <- 1:100

b <- 1:100

c <- matrix(, 100, 100)

i.e.

c(i,j) = f ( a(i) , b(j) )

each of the 10000 elements i,j in matrix c is a function of a(i) and
b(j). I would like to have a,b on the x and z axis and c on the y-axis.
Does anybody have an idea how to accomplish that? Thanks in advance.


persp, contour, image, wireframe, contourplot, etc. (in graphics and lattice); persp3d (in rgl).

Duncan Murdoch

______________________________________________
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.
  • [R] 3D PLOT bastian2507hk
    • Re: [R] 3D PLOT Duncan Murdoch

Reply via email to