Skip to content
Prev 94052 / 398500 Next

Math symbols for labels in Perspective plots

Dear Harsh:

I stole these lines from the Persp examples and 
the plotmath examples.
+            ltheta = 120, shade = 0.75, ticktype = "detailed",
+            xlab = "X", ylab = "Y", zlab = "Sinc( r )"
+      ) -> res
+                                      plain(cos) * phi)))
Hope this helps!

By the way, this is from Windows.

Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu


Subject: [R] Math symbols for labels in Perspective plots


Hi ..
  
     I would like to have math symbols in perspective plots
  
  i tried :  persp(x,y,z,xlab=expression(phi))
  
  but it plots it as phi.
  
  Thanks.
  
  Harsh
  
 __________________________________________________