Subscribe Bookmark RSS Feed

HOW to add categorical color theme using JSL

ram

Contributor

Joined:

Jun 5, 2017

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

Staff

Joined:

Mar 21, 2013

Solution

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
2 REPLIES
Craige_Hales

Staff

Joined:

Mar 21, 2013

Solution

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

Contributor

Joined:

Jun 5, 2017

Thank you Craige.