Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Categories label is not fit in Matlab GUI

1 visualizzazione (ultimi 30 giorni)
amir nemat
amir nemat il 25 Lug 2018
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by