How can i plot a marker which is only half solid?
显示 更早的评论
Hi,everyone. How can I plot a 2D picture using marker which is only half solid? Thanks very much.

采纳的回答
更多回答(2 个)
Davis Lee
2021-1-25
3 个投票
I was able to do this with the text command and the appropriate code for the shape I wanted.
I made a plot and then place a symbol where I needed it.
for me a half filled circle:
...
text(-1.76,0, char(9680) ,'fontsize', 8)
...
https://altcodeunicode.com/alt-codes-geometric-shape-symbols/
MathReallyWorks
2017-5-26
1 个投票
Hello xinjun li,
There is no such specifier present in matlab. If you really want them then you will have to create them using Stephen's link of custom marker plot.
Otherwise you can use different colors for these specifiers rather than full solid and half solid.
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!