Marc,
Following the R FAQ you linked to, I wonder how to ALWAYS have the text and
the plot region fit.
I know that if the text is too long, one can use the par(mar = c(big.number,
4, 4 ,4)) and get the text to fit.
The question is:
Is there a way to make the plot "know" what "big.number" should be so the
text wouldn't go beyond plot regions ?

(I suspect my question might get lost inside this topic, if so - I'll repeat
it with a different header)

Thanks again,
Tal





----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com/ (English)
----------------------------------------------------------------------------------------------




On Sat, Jan 23, 2010 at 5:56 PM, Marc Schwartz <marc_schwartz@me.com> wrote:

> On Jan 23, 2010, at 9:51 AM, Uwe Ligges wrote:
>
> >
> >
> > On 22.01.2010 21:26, Tal Galili wrote:
> >> Hello dear R help group,
> >>
> >>
> >> I learned recently that one can change the rotation of labels in the
> axis,
> >> when using a lattice plot, for example:
> >>
> >> library(lattice)
> >> barchart(yield ~ variety , data = barley,
> >>          groups = year,
> >>          ylab = "Barley Yield (bushels/acre)",
> >>          scales = list(rot = 45))
> >>
> >> My question is: Is there an application of "rot" in something like
> barplot ?
> >> The only solution I know of is using "las = X" (X is 1,2, or 3)
> >> Is there another solution/hack for this ?
> >
> > No, by design there is just the "las" way ...
> >
> > Uwe Ligges
>
>
> Actually, there is a method and it is in the R FAQs:
>
>
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f
>
> HTH,
>
> Marc Schwartz
>
>

	[[alternative HTML version deleted]]

