Borrar filtros
Borrar filtros

can anyone tell me how to plot, plots of two different programs in a single plot?

1 visualización (últimos 30 días)
i have two different programs and i need to have comparison plot i.e both outputs in a single plot.

Respuesta aceptada

Alexander
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)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by