%% PlotTool!


figure(1)
plot(hours,p_downhole/10^5,'LineWidth',1.5);
ylabel('Downhole Pressure [barg]');
xlabel('Time [Hours] ');
axis([3 7 220 260]);
%
figure(2)
plot(hours,inflow,'LineWidth',1.5);
ylabel('Inflow [kg/s]');
% hold on
% plot(hours,w_in,'r','LineWidth',1.5);
xlabel('Time [Hours]');
axis([3 7 8 14]);
%
figure(3)
plot(hours,GOR,'LineWidth',1.5);
ylabel('Gas oil Ratio [Sm^{3}/Sm^{3}]');
xlabel('Time [Hours]');
axis([3 7 235 265]);
%
% reshape P mesh
Ppp=P(1:6,108000:end);
Phours=hours(108000:end);
%
figure(4)
mesh(Phours,xl(1:6),Ppp./10^5);
ylabel('Distance from wellbore, [m]');
xlabel('Time [Hours]');
