how can I give arrow to a particular color in MATLAB?
古いコメントを表示
I have this image
I want to plot the arrow with the color bar, let suppose there is blue colour only so that denote this blue color by an up arrow at a particular direction.

like this, can I do this in matlab?
回答 (1 件)
figure
plot(1:10)
x = [0.3 0.5];
y = [0.6 0.5];
annotation('textarrow',x,y,'String','y = x ', 'Color', 'b', 'LineWidth', 3)
6 件のコメント
SAHIL SAHOO
2023 年 1 月 21 日
Image Analyst
2023 年 1 月 21 日
編集済み: Image Analyst
2023 年 1 月 21 日
It's the figure that's not clear. Too tiny to resolve. Plus, this is a different picture than the original.
SAHIL SAHOO
2023 年 1 月 21 日
編集済み: SAHIL SAHOO
2023 年 1 月 21 日
Image Analyst
2023 年 1 月 21 日
I assume you have the coordinates of the spots on the circle perimeter. That can be where the tails of hte arrow are. Then you need to give coordinates of the arrow head. Then pass in all the coordinates in to quiver. quiver undoubtedly has sample code.
SAHIL SAHOO
2023 年 1 月 21 日
help quiver
カテゴリ
ヘルプ センター および File Exchange で Vector Fields についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

