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, 15, and 25).   I want R to give me the same plot but a y-axis 
label at every integer (i.e. labels at 5,6,7,8,9,10,...25).

I have been unable to figure this out.  Any adice would be greatly appreciated.

Hi Mike,
If your labels are still missing or too close after using Josh's suggestion, have a look at staxlab (plotrix).

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to