time=pressure.time
p1=pressure.signals.values(:,1);
p2=pressure.signals.values(:,2);
p3=pressure.signals.values(:,3);
% p4=pressure.signals.values(:,4);
% p5=pressure.signals.values(:,5);

f1=flow.signals.values(:,1);

figure;
%clf;

subplot(4,1,1);
plot(time, f1);
axis([0 1600 0 2000]);
grid on;
%xlabel('Time')
ylabel('[m3/h]')
title('Flow')
%hold off;

subplot(4,1,2);
plot(time, p1/10^5);
axis([0 1600 5 17]);
grid on;
%xlabel('Time')
ylabel('[bar]')
title('Splitter Pressure')

subplot(4,1,3);
plot(time, p2/10^5);
axis([0 1600 3 17]);
grid on;
%xlabel('Time')
ylabel('[bar]')
title('Sum Pressure')

subplot(4,1,4);
plot(time, p3/10^5);
axis([0 1600 2 5]);
grid on;
xlabel('Time')
ylabel('[bar]')
title('Output pressure')
%legend('Linear','Equal percentage','Fast opening')