How can i plot a marker which is only half solid?

38 vues (au cours des 30 derniers jours)
xinjun li
xinjun li le 26 Mai 2017
Hi,everyone. How can I plot a 2D picture using marker which is only half solid? Thanks very much.

Réponse acceptée

Stephen23
Stephen23 le 26 Mai 2017
Modifié(e) : Stephen23 le 26 Mai 2017
  1 commentaire
xinjun li
xinjun li le 26 Mai 2017
Thanks for your help. Your method is very useful.

Connectez-vous pour commenter.

Plus de réponses (2)

Davis Lee
Davis Lee le 25 Jan 2021
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
MathReallyWorks le 26 Mai 2017
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.
Checkout the specifiers present in matlab: Marker Specifiers

Catégories

En savoir plus sur Annotations dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!