フィルターのクリア

Info

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

How to control FontSize and MarkerSize of Legend at the same time?

1 回表示 (過去 30 日間)
Jing Ci Neo
Jing Ci Neo 2019 年 11 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I can control fontsize and markersize in legend separately but not together.
For example, to control fontsize I use:
lgd =legend('A,'B',C');
lgd.FontSize=13;
And to control markersize I use:
[lgd,icons] =legend('A,'B',C');
icons2 = findobj(lgd,'Type','line');
icons3 = findobj(icons2,'Marker','none','-xor');
set(icons3,'MarkerSize',10);
Can anyone help me with this problem? I am driving myself nuts. Thanks alot!

回答 (0 件)

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

Community Treasure Hunt

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

Start Hunting!

Translated by