Re: [R] Ticks on barplots

2007-03-22 Thread Mike Prager
Marc Schwartz [EMAIL PROTECTED] wrote: On Tue, 2007-03-20 at 18:04 -0400, Michael H. Prager wrote: Dear Gurus, Using R 2.4.1 on Windows XP I am generating stacked barplots of age-composition of fish populations (Y) over time (X). As there are many years, not every bars is

Re: [R] Ticks on barplots

2007-03-21 Thread Jim Lemon
Michael H. Prager wrote: Dear Gurus, Using R 2.4.1 on Windows XP I am generating stacked barplots of age-composition of fish populations (Y) over time (X). As there are many years, not every bars is labeled. When looking at the plot, it becomes difficult to associate labels with

Re: [R] Ticks on barplots

2007-03-21 Thread Mike Prager
Marc Schwartz [EMAIL PROTECTED] wrote: On Tue, 2007-03-20 at 18:04 -0400, Michael H. Prager wrote: I am generating stacked barplots of age-composition of fish populations (Y) over time (X). As there are many years, not every bars is labeled. When looking at the plot, it becomes

Re: [R] Ticks on barplots

2007-03-21 Thread Marc Schwartz
On Wed, 2007-03-21 at 14:40 -0400, Mike Prager wrote: Marc Schwartz [EMAIL PROTECTED] wrote: On Tue, 2007-03-20 at 18:04 -0400, Michael H. Prager wrote: I am generating stacked barplots of age-composition of fish populations (Y) over time (X). As there are many years, not every bars

Re: [R] Ticks on barplots

2007-03-21 Thread Stephen Tucker
Hi Mike, you can try using axTicks as in this example (you can also use pretty instead). Below, instead of a barplot() I have used plot() but with type=h and lend=3 (see ?par for details on lend) which I have found to be useful at times when making barchart-like plots with time-series. In any

[R] Ticks on barplots

2007-03-20 Thread Michael H. Prager
Dear Gurus, Using R 2.4.1 on Windows XP I am generating stacked barplots of age-composition of fish populations (Y) over time (X). As there are many years, not every bars is labeled. When looking at the plot, it becomes difficult to associate labels with their bars. We have improved this

Re: [R] Ticks on barplots

2007-03-20 Thread Marc Schwartz
On Tue, 2007-03-20 at 18:04 -0400, Michael H. Prager wrote: Dear Gurus, Using R 2.4.1 on Windows XP I am generating stacked barplots of age-composition of fish populations (Y) over time (X). As there are many years, not every bars is labeled. When looking at the plot, it becomes