MathGroup Archive 2009

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

Search the Archive

Re: Can I plot y=f(x) and x=f(y) on the same chart?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105527] Re: [mg105492] Can I plot y=f(x) and x=f(y) on the same chart?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 6 Dec 2009 01:33:15 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200912051032.FAA08582@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Here's one slightly devious way:

   ParametricPlot[{{x,3x^5+7x^2-7},{2x^8-5x^7-x,x}},{x,-1,1}]

Notice the renaming of the parameter from "y" to "x" in the second one 
so as to fit both within the same ParametricPlot, controlled by a single 
parameter.



Tyler Shim wrote:
> I have two functions. Lets say one is y = 3x^5+7x^2-7 and the other is
> x = 2y^8-5y^7-y
> 
> How can I plot them on the same chart?
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Set correctly the Properties for print
  • Next by Date: Re: Newbie Qn: Change Directory
  • Previous by thread: Re: Can I plot y=f(x) and x=f(y) on the same chart?
  • Next by thread: Re: Can I plot y=f(x) and x=f(y) on the same chart?