Re: [R] wireframe, axis label-axis separation, xlab rotation

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Wed 22 Feb 2006 - 02:20:13 EST

On 2/21/06, Joaquin Rapela <rapela@usc.edu> wrote:
> 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?

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Feb 22 02:25:27 2006

This archive was generated by hypermail 2.1.8 : Wed 22 Feb 2006 - 09:27:43 EST