Show more than plot at the same time

1 view (last 30 days)
almohanned alsufyani
almohanned alsufyani on 25 May 2023
Edited: Adam Danz on 26 May 2023
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

Answers (1)

Torsten
Torsten on 25 May 2023
Moved: Torsten on 25 May 2023

Categories

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

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!