how can I give arrow to a particular color in MATLAB?
Afficher commentaires plus anciens
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?
Réponses (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 commentaires
SAHIL SAHOO
le 21 Jan 2023
Image Analyst
le 21 Jan 2023
Modifié(e) : Image Analyst
le 21 Jan 2023
It's the figure that's not clear. Too tiny to resolve. Plus, this is a different picture than the original.
SAHIL SAHOO
le 21 Jan 2023
Modifié(e) : SAHIL SAHOO
le 21 Jan 2023
Image Analyst
le 21 Jan 2023
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
le 21 Jan 2023
help quiver
Catégories
En savoir plus sur Vector Fields dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

