I am trying to make a simulation of an airfoil in Mathematica. The final coordinates of the airfoil are parametric, but some of the other things like chord line are f(x) functions. Is there any way that I can plot a normal function and a parametric function on the same graph?

Thank you.

  • $\begingroup$ Can you provide a specific example with working code ? $\endgroup$ – b.gates.you.know.what Dec 6 '12 at 20:09
  • $\begingroup$ Have you looked at Show[]? $\endgroup$ – Jagra Dec 6 '12 at 20:12

Combining two different plot types with Show

 ParametricPlot[{Sin[3 x], Cos[4 x]}, {x, -2 \[Pi], 2 \[Pi]}],
 Plot[x^2, {x, -2 \[Pi], 2 \[Pi]}, PlotStyle -> Red]

Mathematica graphics

or plotting multiple parametric functions in one ParametricPlot statement:

ParametricPlot[{{Sin[3 x], Cos[4 x]}, {x, x^2}}, {x, -2 \[Pi], 2 \[Pi]}, PlotRange -> {-1, 1}]

Mathematica graphics


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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