Re: [R] scatterplot3d to display text

From: Uwe Ligges <>
Date: Sat, 09 Feb 2008 18:07:54 +0100

mauroyb0 wrote:
> Dear all,
> I'm looking for a way to display text (label) in a scatterplot3d instead of
> the default dot. I mean someting like the text() function which can be
> associated with plot(). Do you think this is possible ?

Yes, it is, type:

vignette("s3d", "scatterplot3d")

and take a look at example on pages 18-19 which is almost the same as page 14 of

Ligges, U. and Mächler, M. (2003): Scatterplot3d - an R Package for Visualizing Multivariate Data. Journal of Statistical Software 8 (11), 1-20.

It makes use of the function xyz.convert() that is included in the returned object from scatterplot3d().

> My second question is quite well covered by some threads but I haven't been
> able to find a definitive way of doing. Is there a way to enable rotation in
> a scatterplot3d ?

Well just some limited rotation by specifying the angle. If you want nice interactive rotation of things, I'd recommend package "rgl".

Best wishes,
Uwe Ligges

> Tank you in advance for your answers. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 09 Feb 2008 - 17:11:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 09 Feb 2008 - 18:30:13 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive