How to combine two plotted graphs in one graph to compare the results?

4 visualizzazioni (ultimi 30 giorni)
Worked on two algorithms got the outputs for both. How can i combine the graphs in one such that i could compare the best algorithm among them using graphs.

Risposta accettata

Birdman
Birdman il 8 Feb 2018
figure;hold on;grid on;
%calculations for your first data
plot(x1,y1,'-');
%calculations for your second data
plot(x2,y2,'o');

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by