内置在Matlab中的色彩映射 [英] Built in colormaps in Matlab

查看:196
本文介绍了内置在Matlab中的色彩映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个更浅的版本的青色颜色,使用函数colormap('cyan')。

I want a lighter version of the "cyan" color, using the function colormap('cyan'). How do you do this?

推荐答案

查看函数 BRIGHTEN

X = spiral(8);
image(X)
colormap(winter), colorbar
brighten(0.6)

另一个诀窍是右键单击颜色条,然后选择交互式颜色变换,这样可以使用鼠标拖动来移动颜色到数据的映射。

Another trick is to right click on the colorbar and select Interactive Colormap Shift, this allows to shift the color-to-data mapping using mouse dragging.

这篇关于内置在Matlab中的色彩映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆