Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Plot with axes exchanged
Replies: 4   Last Post: Apr 18, 2013 5:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dr. Wolfgang Hintze

Posts: 195
Registered: 12/8/04
Re: Plot with axes exchanged
Posted: Apr 18, 2013 5:33 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 17 Apr., 08:30, Murray Eisenberg <mur...@math.umass.edu> wrote:
> For a function f, instead of the points {x, f[x]}, you want the points {f[x], x}. So use ParametricPlot. For example:
>
> f[x_] := x^2
> ParametricPlot[{f[x], x]}, {x, 0, 2}]
>
> On Apr 16, 2013, at 12:34 AM, Dr. Wolfgang Hintze <w...@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
>
> ---
> Murray Eisenberg mur...@math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower phone 413 549-1020 (H)
> University of Massachusetts 413 545-2838 (W)
> 710 North Pleasant Street fax 413 545-1801
> Amherst, MA 01003-9305


Thanks you all for the interesting solutions.

Regards,
Wolfgang




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.