Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to plot a solution to a Solve result, ie I have a function f(x,y) and I want to plot y=y(x) for when f(x,y) = 0.06366. Here is what I am trying to do

f[x_, y_] := 0.5*Erf[(y - 0.04*x^2)/(0.1*Sqrt[x])] + 0.5;
Plot[Evaluate@Table[Solve[f[x, y] == 0.06366, {x, y}, {y, Range[0, 1, 0.2]}],
{x, 0, 7}], PlotRange -> Full]
share|improve this question
Why not directly plot the expression in terms of InverseErf[] that you get from Solve[]? – J. M. May 27 '13 at 7:17
I want to be able to do this for a general f(x,y) – l3win May 27 '13 at 7:26
up vote 3 down vote accepted

Something like the following will do the job:

f[x_, y_] := 0.5*Erf[(y - 0.04*x^2)/(0.1*Sqrt[x])] + 0.5;
Plot[y /. Solve[f[x, y] == 0.06366, y], {x, 0, 7}]

I just copied the method from the "Solve" help page in Mathematica.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.