How to combine two plotted graphs in one graph to compare the results?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
vyshnavi Nagireddy
el 8 de Feb. de 2018
Comentada: Mohammad Yusuf Akhtar
el 9 de Feb. de 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 comentarios
Respuesta aceptada
Birdman
el 8 de Feb. de 2018
figure;hold on;grid on;
%calculations for your first data
plot(x1,y1,'-');
%calculations for your second data
plot(x2,y2,'o');
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!