Motion Vecotor using Quiver

2 Ansichten (letzte 30 Tage)
Yazan Awwad
Yazan Awwad am 10 Apr. 2014
Kommentiert: Yazan Awwad am 10 Apr. 2014
How can I use different colors using the quiver function in matlab. Lets say if the motion vector is zero represent that by a red dot. If the motion vector is between 0 and 5 represent that by a blue color. If it is more than 5, represent that by a green color. what I am using now is this function: quiver(MVx(end:-1:1,:), MVy(end:-1:1,:)) This function gives me the same color for all the motion vectors. Help please Thank you, Yazan

Antworten (1)

Sean de Wolski
Sean de Wolski am 10 Apr. 2014
  1 Kommentar
Yazan Awwad
Yazan Awwad am 10 Apr. 2014
oh thank you, Can u give me an example how to use it using the information in my question?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Vector Fields finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by