Matlab表面hsv colormap

时间:2018-05-25 10:32:37

标签: matlab plot colors

我正在使用表面图的2D视图绘制信号的相位,但我遇到了两件事的麻烦:

第一个,如果我使用colormap('hsv');为什么它适用于一个绘图,而如果两个具有相同的属性则不适用于下一个绘图? 另一个问题是,如何平滑一种颜色与下一种颜色之间的过渡?为了产生彩虹效应而不是这种明显的过渡。

figure(2),surf(X,Y,E),'edgecolor', 'none');
colormap('hsv');
view(2);
xlim([-3 3]); ylim([-3 3])
title('Phase delta');
figure(3),surf(X,Y,A-E),'edgecolor', 'none');
colormap('hsv');
view(2);
xlim([-3 3]); ylim([-3 3])
title('Phase sum-delta');

enter image description here

0 个答案:

没有答案
相关问题