Re: is there a way to swap the axes in a Plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg29925] Re: is there a way to swap the axes in a Plot?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 19 Jul 2001 03:56:52 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9j3a1k$im7$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, gg = Plot[Sin[x], {x, 0, 2Pi}]; and flip x and y with Show[gg /. Line[pnts_] :> Line[Reverse /@ pnts]] regards Jens "David E. Burmaster" wrote: > > 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