Skip to content

label *on the side* in conditional lattice plots?

3 messages · Wiener, Matthew, Maciej Kalisiak

#
I think you might be able to use the "horizontal" argument to lattice to
rotate all your plots and squish them in the other dimension.  (Though I
don't know whether you consider that a good outcome ...)

Hope this helps,

Matt Wiener

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Maciej Kalisiak
Sent: Wednesday, August 31, 2005 4:21 PM
To: r-help at stat.math.ethz.ch
Subject: [R] label *on the side* in conditional lattice plots?


I'm doing bwplot(x ~ y | z, ...) with lattice, but would like the
z-labels to appear to the *side* of each bwplot, rather than on top...
is this possible?  The main reason is that my bwplots are horizontal,
and as such can be nicely squished in the vertical axis (big
space-saver when including in papers), but  the labels "get in the
way", look too large in comparison, while I have all this empty space
to the side of the plots which is being wasted instead...
#
On 8/31/05, Wiener, Matthew <matthew_wiener at merck.com> wrote:
I take it you mean to switch the layout so that the conditioned
bwplots are side by side, narrow but tall, with horizontal=TRUE, and
then incorporate into the paper by first rotating 90 degrees.  But is
there a way to rotate the axis labels then?  Having the z-label
written sideways is probably OK, but having the x- and y-axis labels
also sideways is just too much.
#
On 8/31/05, Maciej Kalisiak <mkalisiak at gmail.com> wrote:
Oops, I obviously meant horizontal=FALSE...