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?

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 2-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