wireframe, axis label-axis separation, xlab rotation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

wireframe, axis label-axis separation, xlab rotation

Joaquin Rapela
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.
--
Joaquin Rapela
PhD Student, Electrical Engineering
University of Southern California
Hedco Neuroscience Building
3641 Watt Way
Los Angeles, CA 90089-2520
tel/fax: (213) 821-2070
http://www-scf.usc.edu/~rapela
----------------------------------

"This is the origin of their (the Aborigines') belief in the omnipotence of
thoughts, their unshakable confidence in the possibility of controlling the
world and their inaccessibility to other experiences, so easily obtainable,
which could teach them man's true position in the universe."
                                                                   Sigmund Freud
                                                                 Totem and Taboo

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: wireframe, axis label-axis separation, xlab rotation

Deepayan Sarkar
On 2/21/06, Joaquin Rapela <[hidden email]> 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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html