Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Categories label is not fit in Matlab GUI

1 visualización (últimos 30 días)
amir nemat
amir nemat el 25 de Jul. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have design a GUI which cannot show categories in barh? Can anyone guide?
c = {'Triangle','Square','Round'};
triangle=66;
squre=23;
round=11;
total=triangle+squre+round;
percentage = [triangle/total squre/total round/total].*100;
set(handles.axes1,'Visible','on');
cla(handles.axes1,'reset');
axes(handles.axes1)
barh(percentage)
set(gca,'yticklabel',{c{:}})
axis off
Here is the output

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by