How i can plot two graphs in one figure?

9 Ansichten (letzte 30 Tage)
Raidar Ali
Raidar Ali am 29 Dez. 2018
Kommentiert: madhan ravi am 29 Dez. 2018
tell me about the simplest commnd to plot the two graphs in one figure.

Akzeptierte Antwort

madhan ravi
madhan ravi am 29 Dez. 2018
Bearbeitet: madhan ravi am 29 Dez. 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 Kommentar
madhan ravi
madhan ravi am 29 Dez. 2018
If it's what you are looking for make sure to accept the answer else let know

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by