Re: [R] Barplot and line x-axis positions

2011-01-19 Thread Greg Snow
You can use the updateusr function in the TeachingDemos package to get them to match. Sent from my iPod On Jan 18, 2011, at 10:05 AM, "Andy Aldersley" wrote: > > > > > > Hello all, > Hoping that there is a fairly simple solution to my query... > I'm trying to overlay a line plot of some

Re: [R] Barplot and line x-axis positions

2011-01-19 Thread Jim Lemon
On 01/19/2011 04:04 AM, Andy Aldersley wrote: Hello all, Hoping that there is a fairly simple solution to my query... I'm trying to overlay a line plot of some data onto a barplot of different data. The y-axes are different for each set of data but the x-axes are the same (1:12, correspond

[R] Barplot and line x-axis positions

2011-01-18 Thread Andy Aldersley
Hello all, Hoping that there is a fairly simple solution to my query... I'm trying to overlay a line plot of some data onto a barplot of different data. The y-axes are different for each set of data but the x-axes are the same (1:12, corresponding with 12 months of observations). The problem