Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Matlab 中有一张欧洲地图,我有一些值,这些值会按地区进行更改。
如何绘制轮廓颜色图?标签颜色取决于这些值,我也想显示颜色条。
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