3D displays of data can look very 'flat', which is why light sources are often added. A non-directional alternative is to make the colour of the surface represent a high pass filtered version of the data. Surfplot calculates the high pass filtering using fspecial, and so requires the Image Processing Toolbox.
Gordon Cooper (2021). Surfplot (https://www.mathworks.com/matlabcentral/fileexchange/4973-surfplot), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!