MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: reversing axes orientation

  • To: mathgroup at
  • Subject: [mg97402] Re: reversing axes orientation
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • 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"]]


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)?



Alexei Boulbitch, Dr., Habil.
Senior Scientist

ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern

Phone: +352 2454 2566
Fax:   +352 2454 3566


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.

  • Prev by Date: Re: General form of a summation as a function of 2 variables
  • Next by Date: Re: Polygon with holes
  • Previous by thread: Re: reversing axes orientation
  • Next by thread: read real*8 binary