3D Plot Color Map Gradation
5 次查看(过去 30 天)
显示 更早的评论
can somebody help me to make a 3D plot color like this.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/586731/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/586731/image.png)
0 个评论
采纳的回答
G A
2021-4-17
Try this:
cmp=colormap(turbo(256));
caxis([-0.5,0.5]);
cmp1=cmp;
cmp1(1:128,:)=flipud(cmp1(129:256,:));
colormap(cmp1);
colorbar
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!