Re: [R] plot question, increasing Y-axis labels

2011-03-11 Thread Jim Lemon
On 03/11/2011 05:08 AM, Mike Gibson wrote: I want to increase the number of labels on my y-axis. Here is my code: plot(fish$species, fish$fl, ylim=c(5,25), xlab="Species", ylab="Fork Length (in)") The plot is great but it only has numerical y-labes every five values (i.e. labels at 5, 10,

Re: [R] plot question, increasing Y-axis labels

2011-03-10 Thread Joshua Wiley
Hi Mike, You can use the ?axis function to add custom axes in. To prevent overwriting, you will want to suppress the default y axis in your call to plot. You can find details on the arguments and parameters in ?par (I recommend pulling it up in a way that you can search because the par documenta

[R] plot question, increasing Y-axis labels

2011-03-10 Thread Mike Gibson
I want to increase the number of labels on my y-axis. Here is my code: plot(fish$species, fish$fl, ylim=c(5,25), xlab="Species", ylab="Fork Length (in)") The plot is great but it only has numerical y-labes every five values (i.e. labels at 5, 10, 15, and 25). I want R to give me the sa