Skip to content

wireframe, axis label-axis separation, xlab rotation

2 messages · Joaquin Rapela, Deepayan Sarkar

#
Greetings,

A couple of questions:

1. 
I am using wireframe. It prints 3d plots nicely on screen, but when I use a
postscript device the z-axis label merges with the z-axis. Is there any option
to control their separation?

2. 
Again, using wireframe, I rotate the whole plot using the screen parameter.
However, the x- and y-axis labels (xlab and ylab) remain horizontal. How could 
I rotate them? 

Thanks in advance, Joaquin

PS: my apologizes if these questions are too basic. I am new to R and to Trellis.
#
On 2/21/06, Joaquin Rapela <rapela at usc.edu> wrote:
Both are possible, e.g.

wireframe(volcano,
          scales = list(z = list(distance = 3)),
          zlab = list("volcano", rot = 90),
          zoom = 0.4)

(The documentation is a bit lacking of these details.)

Deepayan