Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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.

share|improve this question
    
Can you provide a specific example with working code ? –  b.gatessucks Dec 6 '12 at 20:09
    
Have you looked at Show[]? –  Jagra Dec 6 '12 at 20:12

1 Answer 1

up vote 6 down vote accepted

Combining two different plot types with Show

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

share|improve this answer

Your Answer

 
discard

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.