Re: [R] is there a way to avoid traveling grid?

2010-10-07 Thread ONKELINX, Thierry
a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: Dimitri Liakhovitski [mailto:dimitri.liakhovit...@gmail.com] Verzonden: dinsdag 5 oktober 2010 17:49 Aan: ONKELINX, Thierry CC: r-help@r-project.org Onderwerp: Re: [R] is there a way to avoid traveling grid? Thierry

[R] is there a way to avoid traveling grid?

2010-10-05 Thread Dimitri Liakhovitski
Hello! If you run the whole code below, it'll produce a stacked diagram. And it looks good - because the tick-marks are aligned with the grid. However, if I stretch the graph window, grid becomes misaligned with the tickmarks. Or, rather, it seems aligned for the first and the last tick mark, but

Re: [R] is there a way to avoid traveling grid?

2010-10-05 Thread Barry Rowlingson
On Tue, Oct 5, 2010 at 3:37 PM, Dimitri Liakhovitski dimitri.liakhovit...@gmail.com wrote: my.data$date I wouldn't use grid - it suggests you try abline, so something like: abline(v=my.data$date,lty=2) - to put vertical lines at your data points. For the horizontal grid lines, we can just

Re: [R] is there a way to avoid traveling grid?

2010-10-05 Thread Dimitri Liakhovitski
Barry - thanks a lot, it's great. Now, the gridlines stick to the tick marks! Just wondering why the product of grid does not. D. On Tue, Oct 5, 2010 at 11:07 AM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: On Tue, Oct 5, 2010 at 3:37 PM, Dimitri Liakhovitski

Re: [R] is there a way to avoid traveling grid?

2010-10-05 Thread ONKELINX, Thierry
Verzonden: dinsdag 5 oktober 2010 16:37 Aan: r-help@r-project.org Onderwerp: [R] is there a way to avoid traveling grid? Hello! If you run the whole code below, it'll produce a stacked diagram. And it looks good - because the tick-marks are aligned with the grid. However, if I stretch the graph

Re: [R] is there a way to avoid traveling grid?

2010-10-05 Thread Dimitri Liakhovitski
-project.org [mailto:r-help-boun...@r-project.org] Namens Dimitri Liakhovitski Verzonden: dinsdag 5 oktober 2010 16:37 Aan: r-help@r-project.org Onderwerp: [R] is there a way to avoid traveling grid? Hello! If you run the whole code below, it'll produce a stacked diagram. And it looks good