Effacer les filtres
Effacer les filtres

How to change the position of arrow in quiver from head/tail to middle of the line?

36 vues (au cours des 30 derniers jours)
Is there a way to change the position of arrow in quiver from head/tail to middle of the line?

Réponses (2)

darova
darova le 8 Jan 2020
Use scale
scale = 0.5;
quiver(...,scale)
  5 commentaires
Swapnil Sayan Saha
Swapnil Sayan Saha le 8 Jan 2020
I want the arrow to be shown in the body of the line, not in the head or tail as I have shown in the figure.
darova
darova le 8 Jan 2020
Draw line and half of quiver then
plot(x,y)
hold on
quiver(...)
hold off

Connectez-vous pour commenter.


Adam Danz
Adam Danz le 30 Juin 2023
Starting in MATLAB R2022a, you can use the Alignment property of the quiver object to specity head, tail, or center alignment.

Catégories

En savoir plus sur Vector Fields dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by