When I do a plot function in R i get
marks on the axes, for examples:
set.seed(123)
plot(matrix(rnorm(100),50,2))
puts marks at (y axis) of {-2,-1,0,1,2}.
My question is:
How can I get these values returned as a vector? Something like:
> GetTickMarkValues()
[1] -2 -1 0 1 2
This gives you the extreme values for tick marks and the number of intervals between them: