cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
ram
ram
Level IV

HOW to add categorical color theme using JSL

HI All,

 How i can add qualitative color theme using JSL? I tried JSL smilar to below but it does not work for qualitative?

 

Does not work:

Qualitative Color Theme( "My Color Theme")

 

Works:

Categorical Color Theme( "My Color Theme")
Continuous Color Theme( "My Color Theme" )

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: HOW to add categorical color theme using JSL

I think this is how it works:

RemoveColorTheme("Artemus"); // remove old one first
AddColorTheme({"Artemus","Qualitative",{"red","green","blue"},{0,.5,1}});

From the pref dialog, Graphs, double clicked a theme at the bottom to view the result of the JSL in the graphical theme editor.Them editor showing theme added by JSLThem editor showing theme added by JSL

 

 

Craige

View solution in original post

2 REPLIES 2
Craige_Hales
Super User

Re: HOW to add categorical color theme using JSL

I think this is how it works:

RemoveColorTheme("Artemus"); // remove old one first
AddColorTheme({"Artemus","Qualitative",{"red","green","blue"},{0,.5,1}});

From the pref dialog, Graphs, double clicked a theme at the bottom to view the result of the JSL in the graphical theme editor.Them editor showing theme added by JSLThem editor showing theme added by JSL

 

 

Craige
ram
ram
Level IV

Re: HOW to add categorical color theme using JSL

Thank you Craige.