Hello,
I want to reduce the distance between my ticks and their labels. I managed
to do it for the x-axis, but the y-axis puzzles me. Here's an example where
there is no space between the x-asix ticks and labels.
par(las=1)
plot(runif(50), type="l",xaxt="n",yaxt="n",ylab="", bty="l")
axis(2)
axis(1,padj=-1.5)
#However,
axis(2,padj=-1.5) #does not work
I understand from ?axis that padj will take its direction from the par(las).
In this case, padj will move labels up and down for both x-axis and y-axis.
I want my y-axis labels to be horizontal.
I can I reduce the distance between y-axis ticks and labels?
Regards,
Pierre Lapointe
Assistant Market Strategist
***********************************************************************************
AVIS DE NON-RESPONSABILITE:\ Ce document transmis par courri...{{dropped}}
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html