[R] greek letters in rgl plot3d

james.foadi at diamond.ac.uk james.foadi at diamond.ac.uk
Fri Jul 23 13:39:56 CEST 2010


Dear RGL experts,
I haven't been able to add greek letters to my rgl plot3d.
I have tried "expression" with no success.

Here is the interested bit:

> library(rgl)
> cb <- cube3d()
> plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5)

The expression(alpha) appears as "alpha", rather than as a greek symbol.
I suspect greek and mathematical symbols in general can be added to a plot3d
in rgl. Is that true?

J

Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE

Email    :  james.foadi at diamond.ac.uk
Alt Email:  j.foadi at imperial.ac.uk


-- 
This e-mail and any attachments may contain confidential...{{dropped:8}}



More information about the R-help mailing list