Choose Language Hide Translation Bar

"Color Code()" JSL Function

It will be convenient if there is a function that accepts a value and a name of a color gradient and returns a color code.

Tracking Number:

Defect ID:

3 Comments
Staff (Retired)

Check out the HeatColor( value, <<theme ) function. It was originally named for a single theme that returned blue-to-gray-to-red representing cold to hot.

Also see GetColorThemeNames(). Both are in the scripting index for JMP 14, maybe earlier.

drawing rectangles from the color themedrawing rectangles from the color theme

also https://community.jmp.com/t5/Uncharted/Can-JSL-use-custom-Heat-Colors/ba-p/34010

 

Level IV
Thanks! That's exactly what I wanted. Accept my apologies for bothering. I hope this page will also help someone else.
Community Manager
Status changed to: Already Offered