Re: [R] plot.ts versus plot.zoo

2010-09-25 Thread Achim Zeileis
On Wed, 22 Sep 2010, Alex van der Spek wrote: plot.ts has an argument yax.flip, plot.zoo does not. Thanks for the info. I've just added an yax.flip argument to plot.zoo in the devel version of zoo on R-Forge. hth, Z Is there a way to make the yaxis flip in plot.zoo? I tried using a

[R] plot.ts versus plot.zoo

2010-09-22 Thread Alex van der Spek
plot.ts has an argument yax.flip, plot.zoo does not. Is there a way to make the yaxis flip in plot.zoo? I tried using a custom panel function: panel.yaxis-function(...) { npnl-parent.frame$panel.number if (npnl %% 2 == 0) { axis(side=3) } else { axis(side=2) } }

Re: [R] plot.ts versus plot.zoo

2010-09-22 Thread Gabor Grothendieck
On Wed, Sep 22, 2010 at 8:07 AM, Alex van der Spek do...@xs4all.nl wrote: plot.ts has an argument yax.flip, plot.zoo does not. Is there a way to make the yaxis flip in plot.zoo? I tried using a custom panel function: panel.yaxis-function(...) {    npnl-parent.frame$panel.number    if