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

14 ビュー (過去 30 日間)
John
John 2023 年 3 月 11 日
回答済み: Torsten 2023 年 3 月 11 日
What format do I need to write the code in to plot both of these functions on the same plot?

採用された回答

Torsten
Torsten 2023 年 3 月 11 日
Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by