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.
Citar como
Bertrand Dano (2024). Quiverc (https://www.mathworks.com/matlabcentral/fileexchange/3225-quiverc), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Etiquetas
Agradecimientos
Inspiración para: 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!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.