Question on how to use MarkerSize and creating a custom marker
조회 수: 1 (최근 30일)
이전 댓글 표시
x = [-2, 3];
y = [2, 7];
plot(x,y);
Simple line, how would I go about marking these 2 points. Say I want to mark these 2 points with a circle of a specific size, with a color that's different from the edge color. I did try to just mark these 2 points by doing plot(x,y,'MarkerSize',20) but I'd get no changes with the graph.
댓글 수: 0
답변 (1개)
Image Analyst
2021년 8월 15일
To have a custom marker, you can place an image on that location. See attached demos.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!