how can I give arrow to a particular color in MATLAB?
Mostrar comentarios más antiguos
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?
Respuestas (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 comentarios
SAHIL SAHOO
el 21 de En. de 2023
Image Analyst
el 21 de En. de 2023
Editada: Image Analyst
el 21 de En. de 2023
It's the figure that's not clear. Too tiny to resolve. Plus, this is a different picture than the original.
SAHIL SAHOO
el 21 de En. de 2023
Editada: SAHIL SAHOO
el 21 de En. de 2023
Image Analyst
el 21 de En. de 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
el 21 de En. de 2023
help quiver
Categorías
Más información sobre Vector Fields en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

