Hi r-users,

I would like my axes to intersect at (0,0).  I tried  xaxs="i",yaxs="i" but it 
does not change anything.  I hope anybody can help me with this problem.  Here 
is my code.

hist(datobs, prob=TRUE, main ="PDF of the sum of two 
stations",col="yellowgreen", cex.axis=1.2,
xlab="Rainfall (mm)", ylab="Relative frequency", ylim= c(0,.008), 
xlim=c(0,600),xaxs="i",yaxs="i")
lines(density(dd), lwd=3,col="red")
legend("topright", legend = c("observed","fitted"),
       col = c("yellowgreen", "red"), pch=c(15,NA), lty = c(0, 1),
       lwd=c(0,3),bty="n", pt.cex=2)
box()

Thank you.


      
	[[alternative HTML version deleted]]

