File Exchange

image thumbnail

quiverc2wcmap

version 1.0.0.0 (4.29 KB) by Andrew Diamond
quiver with color w/r to mag with colormap an NaN support.

9 Downloads

Updated 28 Mar 2005

No License

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

Cite As

Andrew Diamond (2021). quiverc2wcmap (https://www.mathworks.com/matlabcentral/fileexchange/7180-quiverc2wcmap), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

zahura rianjan

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

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.

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.

Michael Newman

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

MATLAB Release Compatibility
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Quiverc, quiverc2

Inspired: quiverwcolorbar, quivermc

Community Treasure Hunt

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

Start Hunting!