Hello,
If I make a plot, say something simple like
plot( runif(100) )
then the origin (0,0) is not at the bottom-left corner of the box
surrounding the plot. The axis limits are "padded" slightly. This is
ordinarily a good feature, because it makes plots look better. But now I
would like to make a plot with the origin exactly on the bottom left.
Through trial and error, I have discovered that this padding is
approximately 3.8% of the axis length. That is,
plot( runif(100), ylim=c(.038,1), xlim=c(3.8,100))
gives the desired result. However, this seems like a rather inelegant hack.
Is there a "correct" way to do this?
Thank you!
Enrico
[[alternative HTML version deleted]]
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.