Is it possible to plot y = x^2 and x = y^2 on the some graph? For some reason, I can't get it to plot the x = y^2 properly. Here is what I get:
Show[{ Plot[x == y^2, {y, -1, 1}], Plot[y = x^2, {x, -1, 1}]}]

Thank you for your time.
|
Is it possible to plot
Thank you for your time. |
|||
|
|
|
Yes, you just have to change how you think about plotting, a little. Specifically, you are looking for
|
|||||||||||
|
|
rcollyer's method is the best way of going about it. Here's an alternative:
Here's a more conventional route, tho:
To see the filled version being asked in the comments:
|
||||
|
|
|
For completeness we can mention finding all branches of inverse function. It won't always work, but it is conceptually instructive for simple cases.
|
|||||||||||||
|