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

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Produits

Version

R2023a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by