Mathematica 9 is now available

Hue

Usage

Hue[h] 是一个指定紧接的图形对象的图形指令,如果可能的话,以对应于灰度h的颜色显示该对象。
Hue[h, s, b]根据灰度,饱和度和亮度指定颜色。


Notes

• 参数h, sb必须都在01之间。 超过这个范围的sb的值舍弃。超过这个范围的h 的值被循环使用。
• 当h 01变化,相应于Hue[h]的颜色是红,黄,绿,蓝绿,蓝,洋红,最后又回到红。
Hue[h]等于Hue[h, 1, 1]. • 在单色显示下,一个基于亮度值的灰度层被使用。
• 图形长廊的结尾显示了用各种Hue规格产生的颜色例子。
• 参见 Mathematica 全书: 1.9.7 and 节 2.9.3.
• 同时参见: RGBColor, GrayLevel, CMYKColor.
• 相关包: Graphics`Colors`.
Further Examples

Here are three polygons colored by different hues.

Evaluate the cell to see the graphic.

In[1]:=  

This varies the hue over successive sectors of a disk.

Evaluate the cell to see the graphic.

In[2]:=  

In[3]:=  



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.