フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Categories label is not fit in Matlab GUI

1 回表示 (過去 30 日間)
amir nemat
amir nemat 2018 年 7 月 25 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by