Re: Plot with axes exchanged
- To: mathgroup at smc.vnet.net
- Subject: [mg130500] Re: Plot with axes exchanged
- From: Fred Simons <f.h.simons at tue.nl>
- Date: Tue, 16 Apr 2013 04:22: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>
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 > >
- References:
- Plot with axes exchanged
- From: "Dr. Wolfgang Hintze" <weh@snafu.de>
- Plot with axes exchanged