Re: [R] abline is not plotting

2013-10-07 Thread hans74
Hi, it works now! Thanks to you both. I thought abline with the lm inside uses the already plotted x- and y-axes automatically, as it does for a abline( h = ... ), for example. Applying the logarithm on the lm-data fixes the graph. Thank you, Hans -- View this message in context: http://r.7

[R] abline is not plotting

2013-10-04 Thread hans74
Hello there, I have some data I want to plot together with a best-fit line. (see MWE below) The points from the first plot does appear as expected, but the abline does not appear, no matter what I change. I removed the log parameter before, but the abline is a very steep line around the origin. I