How to combine two plotted graphs in one graph to compare the results?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
vyshnavi Nagireddy
le 8 Fév 2018
Commenté : Mohammad Yusuf Akhtar
le 9 Fév 2022
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.
0 commentaires
Réponse acceptée
Birdman
le 8 Fév 2018
figure;hold on;grid on;
%calculations for your first data
plot(x1,y1,'-');
%calculations for your second data
plot(x2,y2,'o');
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!