[X,Y] = meshgrid(-10:1:10);
Z = X + Y;
surf(X,Y,Z);
c = colorcube(12);
colormap(c);
colormap parula
colormap turbo
colormap jet
colormap hsv
colormap hot
colormap cool
colormap spring
colormap summer
colormap autumn
colormap winter
colormap gray
扫描二维码关注公众号,回复:
15823256 查看本文章
colormap bone
colormap copper
colormap pink
colormap lines
colormap colorcube
colormap prism
colormap flag
参考文献:https://ww2.mathworks.cn/help/matlab/ref/colorcube.html
开发工具:MATLAB 2022b
微信Alt+A截屏工具