Re: ImplicitPlot errors
- To: mathgroup at smc.vnet.net
- Subject: [mg75082] Re: ImplicitPlot errors
- From: "Norbert Marxer" <marxer at mec.li>
- Date: Mon, 16 Apr 2007 20:13:31 -0400 (EDT)
- References: <evvbfs$9q5$1@smc.vnet.net>
On 16 Apr., 10:18, "David Rees" <w3bdevilREM... at THISw3bdevil.com> wrote: > Hi, > > I've been trying to get ImplicitPlot to plot an implicit function (naturally > ;) ), but it throws errors to cryptic for me, even when copying and pasting > from the Mathematica function reference. > > In[40]:= ImplicitPlot[{x^2 + x*y + y^2 == 7, y == 2*Sqrt[7/3]}, {x, -5, 5}] > > ImplicitPlot::var : > > Equation x^2+x > Function[x,x^2+2xy-3y^2-16]+Function[x,x^2+2xy-3<<1>>-16]^2==7 does not have > a single variable other than x > > ImplicitPlot::var : > > Equation Function[x,x^2+2xy-3y^2-16]==2Sqrt(7/3) does not have a single > variable other than x > > Out[40]:=\!\(ImplicitPlot[{x\^2 + x\ Function[x, x\^2 + 2\ > xy - 3\ y\^2 - 16] + Function[ > x, x\^2 + 2\ xy - 3\ y\^2 - 16]\^2 == 7, Function[x, x\^2 + 2\ > xy - 3\ y\^2 - 16] == 2\ \@\(7\/3\), x == 2\ \@\(7\/3\)}, {x, > \ > \(-5\), 5}, {Function[x, x\^2 + 2\ xy - 3\ y\^2 - 16], \(-5\), 5}]\) > > What am I doing wrong? Even ImplicitPlot[x+y==2,{x,-4,4}] fails. > > Thanks Hello Your symbol y was set to Function[x, x^2 + 2xy - 3y^2 - 16] If you use Clear[y] before calling ImplicitPlot[...] everything will work. Best Regards Norbert Marxer