From maechler at stat.math.ethz.ch  Mon May 30 10:50:51 2005
From: maechler at stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Mon May 30 10:51:05 2005
Subject: [Rd] Reversing axis in a log plot (PR#7894)
Message-ID: <20050530085051.49E9E8B54@slim.kubism.ku.dk>

>>>>> "UweL" == Uwe Ligges <ligges@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}


[Rd] Reversing axis in a log plot (PR#7894)
maechler@stat.math.ethz.ch