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 (2020). Surfplot (https://www.mathworks.com/matlabcentral/fileexchange/4973-surfplot), MATLAB Central File Exchange. Retrieved .
Updated the Help and added demo mode.