【发布时间】:2012-05-19 17:24:34
【问题描述】:
我有一张在 Matlab 中的欧洲地图,我有一些值,这些值会按地区变化。
如何绘制等高线颜色图?标签颜色取决于这些值,我也想显示颜色条。
【问题讨论】:
标签: matlab colors color-mapping colorbar
我有一张在 Matlab 中的欧洲地图,我有一些值,这些值会按地区变化。
如何绘制等高线颜色图?标签颜色取决于这些值,我也想显示颜色条。
【问题讨论】:
标签: matlab colors color-mapping colorbar
a = peaks(40); # some random data
contourf(a); # plot filled contour map
colormap(mycolors); # mycolors should be an N by 3 matrix specifying your colors
colorbar; # shows the color bar on the side
【讨论】: