Hi
try this:
p3dpairs - function(x,x1,
xlim=NULL,ylim=NULL,zlim=NULL,col=par(col), pch=par(pch),
cex=par(cex), ...){
if(is.matrix(x)){
z - x[,3]
y - x[,2]
x - x[,1]
}
if(is.matrix(x1)){
z1 - x1[,3]
y1 - x1[,2]
x1 - x1[,1]
}
, November 18, 2004 3:39 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Fwd: Re: [R] 3d scatter plot with drop line
Hi
try this:
p3dpairs - function(x,x1,
xlim=NULL,ylim=NULL,zlim=NULL,col=par(col), pch=par(pch),
cex=par(cex), ...){
if(is.matrix(x)){
z - x[,3]
y - x
This is a follow up to my question from yesterday. I want to do in R
what is called a 3d scatter plot with drop lines in S-PLUS.
Basically, it's a 3dscatterplot with lines connecting the x-y grid to
the z points.
The lines give a better perspective on the shape of the data surface.
How to?
Joel
On Wed, 17 Nov 2004 12:03:54 -0800, Joel Bremson [EMAIL PROTECTED]
wrote :
This is a follow up to my question from yesterday. I want to do in R
what is called a 3d scatter plot with drop lines in S-PLUS.
Basically, it's a 3dscatterplot with lines connecting the x-y grid to
the z points.
The
On Wednesday 17 November 2004 14:03, Joel Bremson wrote:
This is a follow up to my question from yesterday. I want to do in R
what is called a 3d scatter plot with drop lines in S-PLUS.
Basically, it's a 3dscatterplot with lines connecting the x-y grid to
the z points.
The lines give a