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.
引用格式
Bertrand Dano (2024). Quiverc (https://www.mathworks.com/matlabcentral/fileexchange/3225-quiverc), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
标签
致谢
启发作品: 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!