RE: is there a way to swap the axes in a Plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg29932] RE: [mg29910] is there a way to swap the axes in a Plot?
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 19 Jul 2001 03:56:57 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
David, One method is to use ParametricPlot. Here is an example: x[y_] := ArcSin[y] ParametricPlot[{x[y], y}, {y, -1, 1}, Frame -> True, FrameLabel -> {x, y}]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ > From: David E. Burmaster [mailto:deb at alceon.com] To: mathgroup at smc.vnet.net > > Dear MathGroup, > > Is there an easy way to "transpose" the Plot of a graph? > > I know the inverse function in closed form (and it is impossible to invert > in closed form). > > In other words, I have an equation in closed form for: > > x = f^-1[y] > > I want to Plot this inverse function, then "transpose" the graph so that > the final graphic has x on the horizontal axis and y on the vertical axis. > > Any ideas? > > many thanks, > David E. Burmaster > > deb at Alceon.com > > > >