MathGroup Archive 2001

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

Search the Archive

RE: Reverse the vertical axis

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29248] RE: Reverse the vertical axis
  • From: "Higinio Ramos" <higra at gugu.usal.es>
  • Date: Fri, 8 Jun 2001 04:15:34 -0400 (EDT)
  • References: <200106070514.BAA03224@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

----- Original Message -----
From: <goyteck at hotmail.com>
To: mathgroup at smc.vnet.net
Subject: [mg29248]  Reverse the vertical axis


>
> Dear all,
>
>    I would like to know if there is a way to present the y-axis of a
> contour plot to increase vertically downward, instead of vertically
> upward as it usually does.  That mean that I wish to have the plot of
> the following form
>
>
>      ----------------> x
>     |
>     |
>     |
>     |
>     |
>    \ /
>     y
>
>
>      Thank you for helping.  Have a nice day.
>
>
> Goy Teck Lim
>
A contour plot:
    con = ContourPlot[x^2 + y, {x, -3, 3}, {y, -3, 3}, ContourShading ->
False];
The same contour, but with the y-axis changed
    conInv=Show[Graphics[con] /. {x_?NumberQ, y_?NumberQ} -> {x, -y},
                  FrameTicks -> {Automatic, Table[{y, -y}, {y, -3, 3}]}]
Higinio



  • Prev by Date: RE: Inverse Interpolating Functions
  • Next by Date: Connecting Post RDBMS to Mathematica with J/Link
  • Previous by thread: Reverse the vertical axis
  • Next by thread: RE: Reverse the vertical axis