[R] Position of y axis labels in plot graphic
Nicolai Schneider
rstatistics.user at gmail.com
Mon Sep 10 17:24:07 CEST 2012
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)
Thanks in advance!
Best,
Nico
More information about the R-help
mailing list