Hi. I'm trying to make a plot that should show energy production in every hour of the day. I tried this:
Hours_24 = (0:1:23)plot(Hours_24, Prodution)xlabel('Hours') %Legenda x
ylabel('MW') %Legenda y
datetick('x', 'HH')title('Prodution')grid on
But the result is that the x-axis only shows 00:00 in every single hour. I don't know what i'm doing wrong.
Best Answer