This program use QUIVER/QUIVER2 to generate a vector field specialized plot and then customizes the arrows according to its length.
and that's it. You get
- customized arrows
- NaNs ignored and
- real (U,V) angles with respect to your print/screen.
To use only 7 colors use
or your own colormap if you have my CMAPPING
To not normalize the length and draw all lines with the same length use:
To customize the arrows download ARROW by Erik Johnson here at the FileExchange and use:
Of course x,y,z may be used, as well as U,V,W and the S,'filled' normal options of QUIVER, besides of others '=' and '@' options as well.
To use it as FEATHER use
Recommended to download also my CMAPPING and TLABEL for better use of this function.
Bugs reports and comments will be very appreciated!
Carlos Adrian Vargas Aguilera (2021). quiver2.m v1.2 (Nov 2009) (https://www.mathworks.com/matlabcentral/fileexchange/24600-quiver2-m-v1-2-nov-2009), MATLAB Central File Exchange. Retrieved .
I use this supercool code, but the length of arrows is so long than defult quiver. how can I modify your supercool code ?
You are brilliant. Thank you very much for your hard work and masterful technique.
Great code, but I did have to go in and manually set the max and min values so I could set my own color scale, rather than using the auto feature. Is there a better way to do this?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!