[R] adding lines to scatterplot3d

Dieter Menne dieter.menne at menne-biomed.de
Tue Apr 18 14:42:18 CEST 2006

andrea valle <valle <at> di.unito.it> writes:

> I'm using scatterplot3d. I want to add dotted lines parallel to the 3 
> axes, in order to create a sort of cage in the 3D box (so to represent 
> subdomains in my dataspace).
> I saw that points3d can be used to draw points or lines to the existing 
> plot but actually I'm able only to draw points (I grabbed an example 
> from the web)

See example 5 in the documentation, and use type="l" to produce connecting lines.


More information about the R-help mailing list