Displaying 1 result from an estimated 1 matches for "axis_x".
Did you mean:
axis_y
2004 Jun 04
2
Plot documentation; Axis documentation
...I hadn't a clue what the "1" and "2" meant here without reading
additional documentation. And where is the "LETTERS" constant defined
and what else is defined there?
Are there no common R constants defined somewhere so the axes be defined
symbolically? Perhaps AXIS_X = 1, AXIS_Y = 2 would be better than just
"1" and "2":
plot(1:4, rnorm(4), axes=FALSE)
axis(AXIS_X, 1:4, LETTERS[1:4])
axis(AXIS_Y)
This would at least provide a clue about what is going on here.
Why is R such a graphics rich language and the documentation is so
lack...