Not able to render symbols properly in legends
3 ビュー (過去 30 日間)
古いコメントを表示
abhimanyu dubey
2023 年 5 月 11 日
回答済み: Nirupama Nagarathinam
2023 年 5 月 22 日
Hello,
- Upon closer inspection of this figure we can observe that I've used same symbol twice.
- One with no marker face color, and other one with with the same filled color as the symbol.
- But the two smbols are not very clearly visible in the legend.
- For your reference I've also attached the corresponding '.fig' file. One can open it and then zoom in for inspecting closely.
So I've two things questions regarding this situation.
- How can I improve the symbols rendered in the legend so that it clearly shows, with no ambiguity the symbols with and without face color.
- Any other idea for how can I represent these results in a better way maybe ? or atleast visually better ?
Thanks for your time.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1380124/image.png)
0 件のコメント
採用された回答
Nirupama Nagarathinam
2023 年 5 月 22 日
For "errorbar" type of plots, the legends will contain the combination of marker symbol, line type and the vertical line indicating the error (for this case). Since there are two lines one horizontal and the other vertical going across the marker and the line width is set to 1.5, the markers without face color appears as if it is filled in the legend.
I would advice you to use different colors using different RGB combinations, one color for one legend instead of the markers with and without face color.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!