Plot velocity as color: hue for direction and saturation for speed

版本 1.0.0.0 (2.8 KB) 作者: Doug
Plot velocity as color: hue for direction and saturation for speed, with a ColorWheel key.
460.0 次下载
更新时间 2011/4/15

查看许可证

Usage: [hi,hcw]=hsvel([x],[y],u,v,[maxspeed],[options])
Given a gridded velocity field specified by two-dimensional arrays "u" and "v", hsvel plots the velocity with color, representing direction with hue and speed with saturation, returning the image handle in "hi". A ColorWheel is also plotted to serve as a key; its handle is returned in "hcw". If the corresponding coordinates are given as vectors "x" and "y" they are used as well. Optionally, specify the speed for full saturation with "maxspeed". You can also provide a list of options (e.g. 'DisplayName','myname') to be passed to image.m when plotting.

引用格式

Doug (2024). Plot velocity as color: hue for direction and saturation for speed (https://www.mathworks.com/matlabcentral/fileexchange/31062-plot-velocity-as-color-hue-for-direction-and-saturation-for-speed), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Physics 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0