Skip to content
Prev 305128 / 398506 Next

Position of y axis labels in plot graphic

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