Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14207

Re: Plot with axes exchanged

From Fred Simons <f.h.simons@tue.nl>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Plot with axes exchanged
Date 2013-04-16 08:21 +0000
Message-ID <kkj1lu$1t$1@smc.vnet.net> (permalink)
References <20130416043431.D5E826A17@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


For example the sine function:

With[{gr=Plot[Sin[x], {x, 0, 2 Pi}, PlotRange->All]},  gr /. 
Line[x_]:>Line[Reverse /@ x]]

Regards,

Fred Simons
Eindhoven University of Technology

Op 16-4-2013 6:34, Dr. Wolfgang Hintze schreef:
> 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
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Plot with axes exchanged Fred Simons <f.h.simons@tue.nl> - 2013-04-16 08:21 +0000

csiph-web