When we create a surface plot based on X, Y and Z matrices in Matlab using the surf function, it sets the colormap based on the Z matrix. If we want custom colormap based on some other matrix we can do that by specifying the CData property of the surface. To create the same results […]
Read MoreHow to set custom colormap in MATLAB
- March 15, 2019
- No Comment