[Rd] Reversing axis in a log plot (PR#7894)

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Mon May 30 10:50:51 CEST 2005


>>>>> "UweL" == Uwe Ligges <ligges at statistik.uni-dortmund.de>
>>>>>     on Fri, 27 May 2005 11:42:54 +0200 (CEST) writes:

    UweL> Please find attached my proposal for a bugfix. The
    UweL> experts might to better, though.

    UweL> Uwe Ligges

Thank you, Uwe!

Yes, your fix works, and yes, it can be improved (e.g., no need for
the 'atr'; no 'reversed' when in the linear case, ..)

Also, there won't be any warning either anymore,
since
	plot(1:3, exp(1:3), xlim = c(30,1))
also gives no warning.

You'll find the fixed plot.c in tomorrow's snapshot.

Martin

BTW:  The whole thing {axis reversion} doesn't work in S-plus
      {doing a non-sensical plot, with tons of warnings}



More information about the R-devel mailing list