cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
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.