How i can plot two graphs in one figure?

 Accepted Answer

madhan ravi
madhan ravi on 29 Dec 2018
Edited: madhan ravi on 29 Dec 2018
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 Comment

If it's what you are looking for make sure to accept the answer else let know

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!