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: [mg105522] Re: [mg105492] Can I plot y=f(x) and x=f(y) on the same chart?
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sun, 6 Dec 2009 01:32:17 -0500 (EST)
  • References: <14222419.1260009362795.JavaMail.root@n11>

One possibility is to use ParametricPlot.

f[x_] := 3 x^5 + 7 x^2 - 7
g[y_] := 2 y^8 - 5 y^7 - y

ParametricPlot[{{u, f[u]}, {g[u], u}}, {u, -1, 1},
 Frame -> True,
 AxesStyle -> GrayLevel[.7]]


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Tyler Shim [mailto:tyler.shim at gmail.com] 

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?




  • Prev by Date: Re: Can I plot y=f(x) and x=f(y) on the same chart?
  • Next by Date: Re: Replacing notebook symbols with colored text
  • Previous by thread: Re: Can I plot y=f(x) and x=f(y) on the same chart?
  • Next by thread: Replacing notebook symbols with colored text