Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-22 Thread Jeff Stevens
Well, I finally found a work around. It's not pretty, but it works. I had to alter a number of padding values for par.settings in xyplot() and minutely control the position and panel.width in plot.trellis(). Thanks for the help. response <- c(76, 14, 15, 44, 26, 19, 74, 123, 49, 8, 56, 17, 18) p

Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-21 Thread Jeff Stevens
Thanks, David. The warnings occur after the true problem of trying to plot the three graphs with different scales. I should have stopped the example after assigning all_plots <- c(...), then plotted it (and left out the update statements). If you do this, the x-axes do not maintain their scales.

Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-21 Thread Jeff Stevens
Many thanks, Felix. Though, it seems like the x.same option should allow this: "if TRUE, set the x scale relation to "same" and recalculate panel limits using data from all panels. Otherwise, the x scales in each panel will be as they were in the original objects (so in general not the same), the

Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-20 Thread Felix Andrews
latticeExtra's c() can not combine logarithmic with linear x scales, I'm afraid. I would recommend displaying each separate plot on one page using plot.trellis() or the gridExtra function that John Kane mentioned. Cheers Felix On 21 July 2013 02:50, David Winsemius wrote: > > On Jul 19, 2013,

Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-20 Thread David Winsemius
On Jul 19, 2013, at 8:18 PM, Jeff Stevens wrote: > Hi, > > I would like to combine multiple xyplots into a single, multipanel > display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra > to combine three plots, but the x-axis for two plots are on a log > scale and the other is on a n

Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-20 Thread John Kane
t; To: r-help@r-project.org > Subject: [R] Different x-axis scales using c() in latticeExtra > > Hi, > > I would like to combine multiple xyplots into a single, multipanel > display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra > to combine three plots, but t

[R] Different x-axis scales using c() in latticeExtra

2013-07-19 Thread Jeff Stevens
Hi, I would like to combine multiple xyplots into a single, multipanel display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra to combine three plots, but the x-axis for two plots are on a log scale and the other is on a normal scale. I also have included equispace.log=FALSE to clean