function plotResults(x,price,N)
%% neue figure erzeugen
figure('Position',[100,100,1020,800]);

%% obere plot price
subplot(2,1,1);
plot(price)
% Add labels
xlabel('Zeit (h)');
ylabel('Preis (€/MWh)');
title('Strompreis');
grid minor;

%% untere plot Erzeugung
subplot(2,1,2);
%v=[x(1:N),x(N+1:2*N),x(2*N+1:3*N),x(3*N+1*4*N),x(4*N+1,end)];
hold on;
plot(x(1:N),'b');
hold on;
plot(x(N+1:2*N),'r');
hold on;
plot(x(2*N+1:3*N),'g');
% hold on;
% plot(x(3*N+1:4*N),'-*c');
% Add labels
ylabel('Turbine und Pumpeerzeugung (MWh)');
xlabel('Zeit (h)');
title('Pumpen und Turbine Erzeugung');
% Add legend
legend('Turbine ','Pumpe','Location','NorthWest');