Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Jim Lemon
On 01/24/2010 03:25 AM, Tal Galili wrote: 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

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Marc Schwartz
On Jan 23, 2010, at 9:59 AM, Uwe Ligges wrote: > > > On 23.01.2010 16:56, Marc Schwartz 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 rot

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Uwe Ligges
On 23.01.2010 16:56, Marc Schwartz 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) ba

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Marc Schwartz
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 ~ var

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Tal Galili
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

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Uwe Ligges
On 23.01.2010 17:42, Marc Schwartz wrote: On Jan 23, 2010, at 10:25 AM, Tal Galili wrote: 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

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Marc Schwartz
On Jan 23, 2010, at 10:25 AM, Tal Galili wrote: > 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

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Tal Galili
Uwe and Marc, You two just made me smile in more then one way - thank you :) Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www

Re: [R] Rotating the axis labels in the basic graphic device ?

2010-01-23 Thread Uwe Ligges
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 Yiel

[R] Rotating the axis labels in the basic graphic device ?

2010-01-22 Thread Tal Galili
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