Re: Implicit Plot with parameter
- To: mathgroup at smc.vnet.net
- Subject: [mg118836] Re: Implicit Plot with parameter
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 13 May 2011 06:23:52 -0400 (EDT)
Clear[x, y, z]
f[x_, y_, z_] := 3 x^2 + 2 y - 7 z;
g[x_, y_, z_] := 2 x - 6 y^2 + 9 z;
eqns = {f[x, y, z] == 0, g[x, y, z] == 0};
soln = Solve[eqns, {y, z}];
ParametricPlot[Evaluate[{z, y} /. soln], {x, -5, 5},
AxesLabel -> {z, y}]
ContourPlot3D[Evaluate[eqns],
{z, -.2, 12}, {x, -5, 5}, {y, -4, 4.25},
AxesLabel -> {z, x, y}]
Bob Hanlon
---- victorphy <vbapst at gmail.com> wrote:
=============
Hi,
I have a system of two implicit equations, say f[x,y,z] =0 &&
g[x,y,z] =0 (think of z as a parameter) and I would like to plot the
solutions as 'y as a function of z'; that is, I don't car about the
value that x takes for a given z.
Is there a way to do it with Mathematica ? I tried using ContourPlot
but I couldn't find the way.
Any help would be very appreciated.
Best Regards
Victor