Joaquin Rapela
2006-Feb-21 14:05 UTC
[R] wireframe, axis label-axis separation, xlab rotation
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
Deepayan Sarkar
2006-Feb-21 15:20 UTC
[R] wireframe, axis label-axis separation, xlab rotation
On 2/21/06, Joaquin Rapela <rapela at 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