- Create a second, hidden plot with the desired legend style
- Else you can even use the `legendmarkeradjust` submission on the MathWorks File Exchange. Link is https://www.mathworks.com/matlabcentral/fileexchange/46105-adjust-legend-marker-size
How to fix cropped legend of non-default sized plot figure?
11 ビュー (過去 30 日間)
表示 古いコメント
Ayham Aljawabrah
2019 年 10 月 24 日
コメント済み: Ayham Aljawabrah
2019 年 11 月 7 日
Hi MATLAB Users!
I have to prepare some plot using MATLAB to a predetermined size. I made a figure with the default size then resized it but the quality was poor. as shown in the attached image (right figure). So, I set the figure size directly on MATLAB (left figure in the attached image) but the legend was cropped because it contains large titles. I tried to change the marker size and font size, but the titles appearnce was also bad.
How can I solve the issue?
0 件のコメント
採用された回答
Siriniharika Katukam
2019 年 10 月 30 日
Hi
There is a possible way that can be considered in case of changing marker size of legend.
その他の回答 (0 件)
参考
カテゴリ
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!