csf3
Version 1.0.0 (2.67 KB) by
Kanghyun Chu
Color visualization of 3-vector's orientation on 2-D surface
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, __ )
Cite As
Kanghyun Chu (2026). csf3 (https://www.mathworks.com/matlabcentral/fileexchange/101639-csf3), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
