[R] Variant of cloud with "sticks" from points to surface

Rolf Turner r.turner at auckland.ac.nz
Mon Oct 19 20:47:34 CEST 2009


On 19/10/2009, at 5:26 PM, PerfectTiling wrote:

>
> Hi,
>
> I'd like to
>
>   (1) plot a perspective view of a 3D scatterplot, with a fitted  
> (curved)
> surface;
>   (2) have a "stick" from each point vertically to the surface.
>
> The latter helps one visualize where a point lies in 3D, relative  
> to the
> surface.  Is there a variant of the cloud function (lattice  
> package) which
> might do this?  As far as I can tell, the cloud function will  
> (essentially)
> only plot the a stick from a point to z=0, rather than to the surface.

Perhaps the scatterplot3d package is what you're looking for.

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}




More information about the R-help mailing list