img = imread('js.jpg'); gray = rgb2gray(img); dgray = double(gray); colormap(bone); mesh(dgray);