Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: Plot with axes exchanged
Posted:
Apr 16, 2013 4:21 AM


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 1642013 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 > >



