14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12 <strong>Scripting</strong> Graphs 417<br />

Drawing Lines, Arrows, Points, and Shapes<br />

RGB Color and Color to RGB convert color values between JMP color numbers and the Red-Green-Blue<br />

system. For example, to find the RGB values for JMP color 3 (red):<br />

Color to RGB(3);<br />

{0.941176470588235, 0.196078431372549, 0.274509803921569}<br />

Likewise, HLS Color and Color to HLS convert color values between JMP color numbers and the<br />

Hue-Lightness-Saturation system.<br />

Finally, Heat Color returns the JMP color that corresponds to a value in any color theme that is supported<br />

by Cell Plot, Tree Map, and so on. The syntax is:<br />

Heat Color(n,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!