csf3 Color visualization of 3-vector's orientation on 2-D surface
csf3(X,Y,Z,U,V,W)
csf3(ax, __ )
csf3( __ , SeedColors )
csf3( __ , Alpha )
SeedColors is six RGB values in 6-by-3 matrix form.
Default colors are [1 0 0;0 1 0;0 0 1;0 1 1;1 0 1;1 1 0]::[R;G;B;C;M;Y]
Each color corresponds to +x, +y, +z, -x, -y, -z directions.
Surface transparency: Alpha is either a scalar or array of two elements.
Alpha(1) = FaceAlpha
Alpha(end)= EdgeAlpha
*If the size of U,V,W is m-by-n, then the size of X,Y,Z can be either
m-by-n or m+1-by-n+1.
For the latter case, the vector (u,v,w) at (i,j)-site is considered to be
on the surface element of [x(i:i+1,j:j+1),y(i:i+1,j:j+1),z(i:i+1,j:j+1)]
Displaying spherical colormap
csf3()
csf3(SeedColors)
csf3(ax, __ )
引用格式
Kanghyun Chu (2024). csf3 (https://www.mathworks.com/matlabcentral/fileexchange/101639-csf3), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |