On Sep 10, 2012, at 8:24 AM, Nicolai Schneider wrote:

> Hello,
> 
> I´m really sorry to bother you with this problem but it took me a whole day 
> searching for a solution.
> 
> I want the y axis labels positioned closer to the y axis, by default they are 
> partly outside the window.
> 
> 
> Example:
> 
> x <- as.zoo(EuStockMarkets)
> 
> par(las=1)
> 
> plot.zoo(x, type="l", main="", xlab="", yaxt="n", xaxs="i")
> title(main="Title", xlab="index")
> 
> par(las=0)

I could be wrong, but I think you need to specify xaxt="n" to suppress the 
standard axis and then use axis to supply your own choices.

-- 

David Winsemius, MD
Alameda, CA, USA

______________________________________________
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.

Reply via email to