Re: [R] need tick marks by 10s or 20s up to 200 on x axis

2011-02-18 Thread Jim Lemon
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.

[R] need tick marks by 10s or 20s up to 200 on x axis

2011-02-17 Thread juliemcwh
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

[R] need tick marks by 10s or 20s up to 200 on x axis

2011-02-17 Thread Julie McWhorter
I haven't been able to get any code to make more tick marks than the default by 50. Thanks! 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 =

Re: [R] need tick marks by 10s or 20s up to 200 on x axis

2011-02-17 Thread Joshua Wiley
Hi Julie, Here is a little example. First I make a histogram (it looks odd because there isn't much data), then add the x axis in manually specifying at what points to place tick marks. ## histogram suppressing x axis hist(c(0, 200), xaxt = n) ## add axis with custom ticks axis(1, at = seq(0,