How i can plot two graphs in one figure?

 Risposta accettata

madhan ravi
madhan ravi il 29 Dic 2018
Modificato: madhan ravi il 29 Dic 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 Commento

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by