No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

3.7 | 3 ratings Rate this file 9 Downloads (last 30 days) File Size: 11.9 KB File ID: #7180 Version: 1.0
image thumbnail



Andrew Diamond (view profile)


17 Mar 2005 (Updated )

quiver with color w/r to mag with colormap an NaN support.

| Watch this File

File Information

Draws a quiver plot with arrows whose colors are w/r to the default color map and the magnitude of the data. It displays a colormap whose limits accurately reflect the data. Works with NaNs. Created under 6.5.1 but has run under 6.1


Quiverc and Quiverc2 inspired this file.

This file inspired Quivermc and Quiverwcolorbar.

MATLAB release MATLAB 6.5.1 (R13SP1)
Other requirements Created under 6.5.1 but has run under 6.1 also
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
25 Nov 2014 elisita

I have a problem because my data is a circular grid and I have NaN in the grid points X and Y What I should do?
Thank you

06 Feb 2013 Melissa Day

Thanks for this! Not being able to assign arrow color by vector magnitude was driving me crazy. I do have to add view([0,-90]); after calling this since it transposes my graphs in a strange way, however.

09 Jan 2012 samen

samen (view profile)

Hello, thanks a lot for this file. I have two questions :
- I wondering if this fonction plot -U and -V instead of U et V ? An other way to say that, i wondering if the the arrow points in the opposite side
- I realy need a function with normalize arrow.

Comment only
23 Feb 2010 Michael Newman

23 Feb 2010 Michael Newman

This worked first time and much better and faster than any quiverc, quiverclr and vfield.

Good script and simple to use, I did have to transpose some of my data to make it work correctly.

Input isnt clear, but use the same input as the inbuilt quiver function

Comment only
28 Mar 2005

Bug fix. Colors of quivers incorrectly was w/r to having an even no. of quivers per color vs even color spacing between min an max magnitudes as per colorbar behavior.

Contact us