MathGroup Archive 2011

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

Search the Archive

Re: y-axis direction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116530] Re: y-axis direction
  • From: telefunkenvf14 <rgorka at gmail.com>
  • Date: Fri, 18 Feb 2011 04:36:18 -0500 (EST)
  • References: <ijisli$27u$1@smc.vnet.net>

On Feb 17, 4:18 am, "Rob Y. H. Chai" <yhc... at ucdavis.edu> wrote:
> Hi all,
>
> In the Plot command, the convention for y-axis is up for positive values.  Is
> there an easy way to reverse the y-axis direction i.e. pointing down for
> increasing positive y values? Thanks.
>
> Rob Chai

I have encountered the same problem... economists like to graph
inverse demand and supply equations (i.e., price(quantity)) rather
than the true relationship of quantity(price).

Possible ways around this:

(1) solving for the inverse relationship and then using Plot[] (one
could also use InverseFunction[] ---- not always straightforward as
your function may not be clearly invertible w/o providing assumptions
on parameters)
(2) using ContourPlot[], which incorporates the functionality of the
legacy function ImplicitPlot (you can still use ImplicitPlot; search
documentation for details)

For the most part, I've settled on (1).

-RG


  • Prev by Date: Pattern matching
  • Next by Date: Re: Another point about Mathematica 8.0
  • Previous by thread: Re: y-axis direction
  • Next by thread: Re: y-axis direction