Re: [R] Three questions about plotting

2014-03-03 Thread Greg Snow
In addition to the great answers already given, you can equalize the vertical part of each plot by having all the plots have the same margins, but creating an outer margin for the common x-axis. do something like: par(mar=c(0,4,0,2), oma=c(4,0,0,0)) then don't change the margins before the last

Re: [R] Three questions about plotting

2014-02-27 Thread Jim Lemon
On 02/28/2014 11:19 AM, David Parkhurst wrote: I would like to plot three graphs, one above the other, of three “y” variables that have different scales against a common Date variable, as with the code below. Q1. If I understand correctly, I can't use lattice graphics because my y's have differe

Re: [R] Three questions about plotting

2014-02-27 Thread Gabor Grothendieck
On Thu, Feb 27, 2014 at 7:19 PM, David Parkhurst wrote: > I would like to plot three graphs, one above the other, of three "y" > variables that have different scales against a common Date variable, as with > the code below. > > Q1. If I understand correctly, I can't use lattice graphics because m

[R] Three questions about plotting

2014-02-27 Thread David Parkhurst
I would like to plot three graphs, one above the other, of three “y” variables that have different scales against a common Date variable, as with the code below. Q1. If I understand correctly, I can't use lattice graphics because my y's have different scales. Is that correct? All the lattic