How i can plot two graphs in one figure?

1 次查看(过去 30 天)
tell me about the simplest commnd to plot the two graphs in one figure.

采纳的回答

madhan ravi
madhan ravi 2018-12-29
编辑:madhan ravi 2018-12-29
See https://www.mathworks.com/help/matlab/ref/hold.html , the command would be hold on
% an example
plot(1:10)
hold on
plot((1:10).^2)
Screen Shot 2018-12-30 at 12.40.17 AM.png
  1 个评论
madhan ravi
madhan ravi 2018-12-29
If it's what you are looking for make sure to accept the answer else let know

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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