MathGroup Archive 2013

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

Search the Archive

Re: Plot with axes exchanged

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130503] Re: Plot with axes exchanged
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Tue, 16 Apr 2013 04:23:04 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20130416043431.D5E826A17@smc.vnet.net>

Use ParametricPlot

f[x_] = (x - 2) (x - 4);

ParametricPlot[{f[x], x}, {x, 0, 5}]

Bob Hanlon


On Tue, Apr 16, 2013 at 12:34 AM, Dr. Wolfgang Hintze <weh at snafu.de> wrote:

> How can I exchange axes in a plot, i.e. plot the function value along
> the horizontal axis and the independent variable against the vertical
> axis?
>
> Any help is apreciated.
>
> Wolfgang
>
>


  • Prev by Date: Re: Turning a Sequence into a List?
  • Next by Date: Re: Running an external program inside a Do loop
  • Previous by thread: Re: Plot with axes exchanged
  • Next by thread: Re: Plot with axes exchanged