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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R2023a

Tags

Asked:

on 25 May 2023

Edited:

on 26 May 2023

Community Treasure Hunt

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

Start Hunting!