MathGroup Archive 1994

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: transposing a graph

  • To: mathgroup at christensen.Cybernetics.NET
  • Subject: Re: transposing a graph
  • From: "Dennis M. Schneider" <dschneid at>
  • Date: Wed, 26 Oct 1994 12:21:45 -0500 (CDT)

On Sun, 23 Oct 1994, David E. Burmaster wrote:

> Dear MathGroup
> I am looking for a routine that "transposes" a graph -- i.e., I can make
> a plot of the inverse of a function that has no analytic representation
> as the inverse -- but it is plotted easily as the regular function
> Dave
Generate your plot, say 
	plot = Plot[Sin[x],{x,-Pi/2,Pi/2}]
and then interchange the data points
	Show[plot /. {a_,b_} -> {b,a}]

A fancy version of this command, called PlotInverse, is in KnoxPackages.

Dennis M. Schneider
Dept of Mathematics
Knox College
Galesburg, IL  61401

  • Prev by Date: MPEG movies from MMA Animations
  • Next by Date: matrix of coefficients?
  • Previous by thread: transposing a graph
  • Next by thread: Arrowheads in plots