can anyone tell me how to plot, plots of two different programs in a single plot?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Abilasha
el 1 de Mayo de 2023
Comentada: Abilasha
el 1 de Mayo de 2023
i have two different programs and i need to have comparison plot i.e both outputs in a single plot.
0 comentarios
Respuesta aceptada
Alexander
el 1 de Mayo de 2023
use "hold on" between both plottings:
plot(a,b)
hold on
plot(c,d)
hold off
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!