Question on how to use MarkerSize and creating a custom marker
8 次查看(过去 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!