3d scatter plot with drop line
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