How do I plot two different functions on the same plot?

What format do I need to write the code in to plot both of these functions on the same plot?

 Réponse acceptée

Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by