Message-ID: <200411171515.57405.deepayan@stat.wisc.edu>
Date: 2004-11-17T21:15:57Z
From: Deepayan Sarkar
Subject: 3d scatter plot with drop line
In-Reply-To: <1253d67a04111712032a31b921@mail.gmail.com>
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 better perspective on the shape of the data surface.
>
> How to?
One possibility would be
library(lattice)
cloud(y ~ x * z, type = 'h')
This actually tries to drop the lines to the X-Y plane (z = 0) (which is
truncated on the 'x-y grid' if the z-limits don't include 0).
Deepayan