cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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.

4 Comments
Craige_Hales
Super User

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

 

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