Re: [R] x-axis label print in 45 degree

2010-08-15 Thread Jim Lemon

On 08/13/2010 05:14 AM, array chip wrote:

Hi how can print x-axis labels in 45 degree in boxplot() (or plot in general)? I
can use las=2 to print in 90 degree, but it looks ugly. Is there a simple option
to do 45 degree easily?


Hi John,

Have a look at staxlab in the plotrix package, particularly the srt 
argument.


Jim

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] x-axis label print in 45 degree

2010-08-12 Thread array chip
Hi how can print x-axis labels in 45 degree in boxplot() (or plot in general)? 
I 
can use las=2 to print in 90 degree, but it looks ugly. Is there a simple 
option 
to do 45 degree easily?

Thanks

John

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] x-axis label print in 45 degree

2010-08-12 Thread Marc Schwartz
On Aug 12, 2010, at 2:14 PM, array chip wrote:

 Hi how can print x-axis labels in 45 degree in boxplot() (or plot in 
 general)? I 
 can use las=2 to print in 90 degree, but it looks ugly. Is there a simple 
 option 
 to do 45 degree easily?
 
 Thanks
 
 John


John,

See R FAQ 7.27 How can I create rotated axis labels?

  
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f

HTH,

Marc Schwartz

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] x-axis label print in 45 degree

2010-08-12 Thread David Winsemius


On Aug 12, 2010, at 3:17 PM, Marc Schwartz wrote:


On Aug 12, 2010, at 2:14 PM, array chip wrote:

Hi how can print x-axis labels in 45 degree in boxplot() (or plot  
in general)? I
can use las=2 to print in 90 degree, but it looks ugly. Is there a  
simple option

to do 45 degree easily?

Thanks

John



John,

See R FAQ 7.27 How can I create rotated axis labels?

 
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f



Although several of the hits in a search on rotate axis labels did  
point to the FAQ, there are probably other worked examples you could  
easily have found in the other 130+ hits at Baron's search page  
(including it appears on a cursory examination one from Marc in  each  
of the last 7 years).



HTH,

Marc Schwartz

--

.


David Winsemius, MD
West Hartford, CT

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] x-axis label print in 45 degree

2010-08-12 Thread array chip
Than you Marc.

John



- Original Message 
From: Marc Schwartz marc_schwa...@me.com
To: array chip arrayprof...@yahoo.com
Cc: r-help@r-project.org
Sent: Thu, August 12, 2010 12:17:12 PM
Subject: Re: [R] x-axis label print in 45 degree

On Aug 12, 2010, at 2:14 PM, array chip wrote:

 Hi how can print x-axis labels in 45 degree in boxplot() (or plot in 
 general)? 
I 

 can use las=2 to print in 90 degree, but it looks ugly. Is there a simple 
option 

 to do 45 degree easily?
 
 Thanks
 
 John


John,

See R FAQ 7.27 How can I create rotated axis labels?

  
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f


HTH,

Marc Schwartz

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] x-axis label print in 45 degree

2010-08-12 Thread array chip
I searched with print x-axis label in 45 degree which didn't return useful 
links. Apparently I used poor search keywords.






- Original Message 
From: David Winsemius dwinsem...@comcast.net
To: Marc Schwartz marc_schwa...@me.com
Cc: array chip arrayprof...@yahoo.com; r-help@r-project.org
Sent: Thu, August 12, 2010 12:34:16 PM
Subject: Re: [R] x-axis label print in 45 degree


On Aug 12, 2010, at 3:17 PM, Marc Schwartz wrote:

 On Aug 12, 2010, at 2:14 PM, array chip wrote:
 
 Hi how can print x-axis labels in 45 degree in boxplot() (or plot in 
 general)? 
I
 can use las=2 to print in 90 degree, but it looks ugly. Is there a simple 
option
 to do 45 degree easily?
 
 Thanks
 
 John
 
 
 John,
 
 See R FAQ 7.27 How can I create rotated axis labels?
 
  
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f

 

Although several of the hits in a search on rotate axis labels did point to 
the FAQ, there are probably other worked examples you could easily have found 
in 
the other 130+ hits at Baron's search page (including it appears on a cursory 
examination one from Marc in  each of the last 7 years).

 HTH,
 
 Marc Schwartz
--
 .

David Winsemius, MD
West Hartford, CT

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.