How to set all the labels for 2 different axes in matlab gui?

O
Oliviawilliams02 · Sep 12, 2020 · 2K views
Question
i have 2 different axes in matlab gui: 1)xlabel('Radius'), ylabel ('Radius'), zlabel ('E-field') 2)xlabel('Diameter'), ylabel('Power') but how can i set in the OpeningFcn on axes1 and axes2??
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 24, 2026
 xlabel(handles.axes1,'Radius')
 ylabel(handles.axes1,'Radius')
 zlabel(handles.axes1,'E-field')

 xlabel(handles.axes2,'Diameter')
 ylabel(handles.axes2,'Power')
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!