4.5

4.5 | 2 ratings Rate this file 12 Downloads (last 30 days) File Size: 11.9 KB File ID: #7180
image thumbnail

quiverc2wcmap

by

 

17 Mar 2005 (Updated )

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

| Watch this File

File Information
Description

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

Acknowledgements

Quiverc and Quiverc2 inspired this file.

This file inspired Quiverwcolorbar and Quivermc.

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 (4)
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

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.

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

Updates
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