Azzera filtri
Azzera filtri

question about the quiver

3 visualizzazioni (ultimi 30 giorni)
YIFAN
YIFAN il 24 Nov 2012
I want to draw an arrow between to points like from (0,0) to (1,1). Should I use quiver? But when I use quiver(0,0,1,1), why is the end point (.9,.9)... Please help me, thanks~

Risposte (1)

Matt Fig
Matt Fig il 24 Nov 2012
Modificato: Matt Fig il 24 Nov 2012
Set the scale to zero:
quiver(0,0,1,1,0)
% .......scale ^
  2 Commenti
Matt Fig
Matt Fig il 25 Nov 2012
YIFAN comments
Sorry, I know it. Just put one more 0, like quiver(0,0,1,1,0), which means do not do the scaling automatically
Matt Fig
Matt Fig il 25 Nov 2012
Is that a further question?
If your question has been answered, please accept the answer.

Accedi per commentare.

Categorie

Scopri di più su Vector Fields in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by