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

21 Ansichten (letzte 30 Tage)
John
John am 11 Mär. 2023
Beantwortet: Torsten am 11 Mär. 2023
What format do I need to write the code in to plot both of these functions on the same plot?

Akzeptierte Antwort

Torsten
Torsten am 11 Mär. 2023
Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by