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

조회 수: 24 (최근 30일)
xinjun li
xinjun li 2017년 5월 26일
답변: Davis Lee 2021년 1월 25일
Hi,everyone. How can I plot a 2D picture using marker which is only half solid? Thanks very much.

채택된 답변

Stephen23
Stephen23 2017년 5월 26일
편집: Stephen23 2017년 5월 26일
  댓글 수: 1
xinjun li
xinjun li 2017년 5월 26일
Thanks for your help. Your method is very useful.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Davis Lee
Davis Lee 2021년 1월 25일
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 2017년 5월 26일
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

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!