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

Illustration
Oliviawilliams02 - 2020-09-12T13:16:43+00:00
Question: How to set all the labels for 2 different axes in matlab gui?

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 answered . 2025-11-20

 xlabel(handles.axes1,'Radius')
 ylabel(handles.axes1,'Radius')
 zlabel(handles.axes1,'E-field')

 xlabel(handles.axes2,'Diameter')
 ylabel(handles.axes2,'Power')


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!