[R] need tick marks by 10s or 20s up to 200 on x axis
Jim Lemon
jim at bitwrit.com.au
Fri Feb 18 10:47:27 CET 2011
On 02/18/2011 07:56 AM, juliemcwh wrote:
>
> Sorry, I have read other posts on tick marks but nothing is working.
>
> Here is my R code. I was able to turn off the x axis at one point (I
> removed that code), but never got the tick marks on by 20s. It always goes
> to the default of 50, 100, 150, 200.
>
> Thanks.
>
> R code: hist(OMY$FL, main = "2010 Oncorhynchus mykiss Fork Length
> Frequencies at Buck Creek Reach 1", include.lowest = TRUE, col = "blue",
> border = "white", breaks = 140,
> xlab = "Fork Length in mm", ylab = "Frequency", xlim = range(0,200), ylim
> = range (0,15), xbar=10)
Hi Julie,
Joshua's suggestion will probably get you what you want. If you are
still having trouble with some tick labels dropping out, have a look at
staxlab (plotrix).
Jim
More information about the R-help
mailing list