MATLAB colorbar 不同子图统一着色我要分享

Colorbar MATLAB uniform coloring of different sub

matlab MATLABcolorbar 不同 统一

关注次数: 392

下载次数: 2

文件大小: 1.36 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:应用背景在做数据分析时,三维或二维等值线绘图经常用到。如果要做几个图进行对比,数据属性一样,但每幅图数值范围不同,那么分别绘图会发现色彩都是饱和的,比如都是从红到蓝,中间渐变,这不利于几幅图放在一起进行对比,我们希望用同一个图例指示所有的图,那么就可以用的该函数。关键技术MATLAB做三维彩图时,通常我们通过colorbar命令,添加图例。但如果我们有两个图,属性一样,数值范围不同,选用相同的色调,那么每个图都是从红到蓝,中间渐变,不利于对比,该函数能解决这一问题,不同的图,用能过囊括所有图的最小范围作为标准,利于色彩对比。


English Description:

Application backgroundIn doing data analysis, three-dimensional or two-dimensional contour mapping is often used. Attribute data in the same if you want to do a few images are compared, but different in each picture numerical range, then were drawing will be found that the color is saturated, for example, are from red to blue, intermediate gradient, which is not conducive to a few pictures put together to make a comparison, we hope all graphs indicating a legend, then you can use the function.Key TechnologyMATLAB to do three-dimensional pictures, usually we through the colorbar command, add a legend. But if we have two graphs, attributes, different ranges of data, selection of tones of the same, then each figure are from red to blue, in the middle of the gradient, is not conducive to the contrast, the function can solve the problem that different figure, to include all the minimum range as the standard, to color contrast.


代码预览