Hello,
I found a really awesome argument for the plot() function yesterday,
I didn't write it down and really regretting it as I can't find the post
that has it.
I have a plot(e,y)
One value really deviates and throws my y-axis off. I know I can do
something like this:
"x = seq(-0.4, 0.4, length = 50)
y = runif(50, -0.2, 0.2)
plot.new()
plot.window(xlim = c(-0.4, 0.4), ylim = c(-0.4, 0.4))
axis(1, at = seq(-0.4, 0.4, by = 0.2))
axis(2, at = seq(-0.4, 0.4, by = 0.2))
points(x, y)
box()"
BUT the function I found was something like this:
plot(e,y, range='(20,-20)')
BAMM, easy. I definitely remember typing 'range'.
Any leads?
[[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.