1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
% Choose default command line output for IHM2
handles.output = hObject; % on se situe dans la fonction opening du GUI
%Mise en forme de la zone de graphique
axes(handles.axes1) % mon graphe est le axes1
set(xlabel('Heures','FontSize',8));
set(ylabel('Charge/Décharge(kWh)','FontSize',8));
set(title('Consignes Journalières','FontWeight','normal','FontSize',8));
set(gca, 'XLim', [0,1],...
'XTick', [0 0.125 0.25 0.375 0.5 0.625 0.750 0.875 1],...
'XTickLabel', {'00h00';'03h00'; '06h00'; '09h00'; '12h00'; '15h00'; '18h00'; '21h00'; '24h00'}');
% Update handles structure
guidata(hObject, handles); |
Partager