Re: reversing axes orientation
- To: mathgroup at smc.vnet.net
- Subject: [mg97402] Re: reversing axes orientation
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Thu, 12 Mar 2009 05:42:04 -0500 (EST)
Hi, Joerg,
this subject has been recently discussed here. You should look into the
Archive for solutions. As one of the examples of that discussion, you
may try the code below.
Have success, Alexei
Plot[fun[x], {x, 0, 10},
PlotLabel -> Style["Usual plot with ascending x"]]
maxX = 10;
minX = 0;
fun[x_] := x + 2;
Plot[fun[maxX - x], {x, minX, maxX},
Ticks -> {Table[{i, maxX - i}, {i, minX, maxX}], Automatic},
PlotLabel -> Style["Plot of the same function with descending x"]]
Hi,
is there a simple way to reverse the orientation
of the axes of a plot, e.g. in Plot[x, {x, 1, 0}]
really plot from 1 to 0 (from left to right)?
Thanks,
joerg
--
Alexei Boulbitch, Dr., Habil.
Senior Scientist
IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern
Luxembourg
Phone: +352 2454 2566
Fax: +352 2454 3566
Website: www.iee.lu
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.