HSL colormaps软件

Generate pleasing HSL colormaps easily.

软件应用简介

HSL colormaps软件

Generate hue-saturation-lightness colormaps 



USAGE: hslcolormap(N,H,S,L) 



INPUTS: 

N: number of colors in colormap. 

H: hue stops (optional). %can also be specified using a string: rygcbmRYGCBM 

S: saturation stops (optional) 

L: Lightness stops (optional) 



The stops are placed evenly over the colorscale. Parameter examples: 

H=[0 1/6]; %colorscale runs from red to yellow 

S=[0 1]; %gray to fully saturated 

L=[.3 1 .3]; % dark-bright-dark 



Using L with two-stops (e.g. L=[.2 .8]) makes it easy to distinguish 

high and low values. 



Using a symmetric L with 3 stops (e.g. L=[.2 1 .2]) is useful for divergent 

colorscales. 



Discontinuities in the colormap can be indicated with nans. 





EXAMPLE: 

surf(peaks(200),’edgecolor’,’none’); 

caxis([-6 6]) 

hslcolormap(300,’g.m’,1,[.1 1 .1]); 

colorbar 

界面展示

HSL colormaps软件

结果示意

HSL colormaps软件

规格 价

0元试用
0.0元人民币/月

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2022年8月5日
下一篇 2022年8月5日

相关推荐