Show more than plot at the same time

I have several variables that I want to show in graphs , and I have written the code as follows :
plot(Salinity_stage_max);
ylabel("ppm")
xlabel("Days")
title("Salinity profile")
plot(PR);
ylabel("PR")
xlabel("Days")
title("Performance Ratio profile")
plot(STEC);
hold on
ylabel("Kj/Kg")
xlabel("Days")
title("Specific thermal energy consumption")
hold off
But Matlab shows only the last command of the plot, is there a way so that all the plots appear either in separate windows or in one grouped window

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Etiquetas

Preguntada:

el 25 de Mayo de 2023

Editada:

el 26 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by