Quiverc
This is a modified version of the function quiver [from C.M. Thompson] to plot velocity vectors as arrows with components (u,v) at the points (x,y) with the color corresponding to the magnitude of the vector and using the current colormap.
Tip: for best results, add set(gcf, 'InvertHardCopy', 'off') after the function to keep the black background on the hardcopy. See attached examples.
Citation pour cette source
Bertrand Dano (2024). Quiverc (https://www.mathworks.com/matlabcentral/fileexchange/3225-quiverc), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Tags
Remerciements
A inspiré : Quiver - magnitude-dependent color in 2D and 3D, quiverc2, quiverc2wcmap, quiverwcolorbar, Navier-Stokes solver, quivermc
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Wrong title on the page |
||
1.0.0.0 | syntax error in description |