フィルターのクリア

Question on how to use MarkerSize and creating a custom marker

8 ビュー (過去 30 日間)
Stanley Zhu
Stanley Zhu 2021 年 8 月 15 日
回答済み: Image Analyst 2021 年 8 月 15 日
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.

回答 (1 件)

Image Analyst
Image Analyst 2021 年 8 月 15 日
To have a custom marker, you can place an image on that location. See attached demos.

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by