function [] = plotting_states(t,X)

t=t/60; % [s] --> [m]
linewidth=1;

figure(78)
set(gcf,'Color',[1,1,1])
set(gca,'FontSize',15);

subplot(3,1,1)
%plot(t,X_hat(:,1),'-r','linewidth',linewidth);
%hold on;
plot(t,X(:,1),'--b','linewidth',linewidth);
%legend('Estimated','Real');
title('Mass of Gas in Annulus (x1) ','FontSize',20,'FontWeight','bold');
xlabel('Time [minutes]','FontSize',15);
ylabel('Mass [Kg]','FontSize',15);

subplot(3,1,2)
%plot(t,X_hat(:,2),'-r','linewidth',linewidth);
%hold on;
plot(t,X(:,2),'--b','linewidth',linewidth);
%legend('Estimated','Real');
title('Mass of Gas in Tubing (x2) ','FontSize',20,'FontWeight','bold');
xlabel('Time [minutes]','FontSize',15);
ylabel('Mass [Kg]','FontSize',15);

subplot(3,1,3)
%plot(t,X_hat(:,3),'-r','linewidth',linewidth);
%hold on;
plot(t,X(:,3),'--b','linewidth',linewidth);
%legend('Estimated','Real');
title('Mass of Liquid in Tubing (x3) ','FontSize',20,'FontWeight','bold');
xlabel('Time [minutes]','FontSize',15);
ylabel('Mass [Kg]','FontSize',15);






end

