How do I color and plot arrows in directions specified by an array of angles?
Mostra commenti meno recenti
I have 3 vectors of data specifying x, y, and theta. I would like a 2-D plot of arrows at each (x,y) coordinate, with each arrow pointing in a direction indicated by theta, where theta is between 0 and 360 degrees.
In addition, I would like the color of arrows to be customized. For example, arrows pointing in the NorthEast direction (0 to 90 degrees) should be red, arrows pointing in the NorthWest direction (91 to 180) should be green, and so on.
Risposta accettata
Più risposte (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!