<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Graph legend color pallete align with default in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/665688#M85401</link>
    <description>&lt;P&gt;When I build a graph in JMP there is a default color palette (JMP Default).&amp;nbsp; &amp;nbsp;It's based on the order, alphabetical I think.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes I need to adjust the colors, but I would still like them to be the same as the default colors.&amp;nbsp; So for instance in 1 case I have 3 lines in my top graph (blue red green) and three lines in my bottom graph (purple orange....teal?).&amp;nbsp; And I want to change the 3 lines in the bottom graph to be the same as the top (blue red green).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that from what I can tell the colors I can&amp;nbsp;&lt;EM&gt;choose&lt;/EM&gt;&amp;nbsp;(with right click-&amp;gt;line color) are not aligned with the JMP default palette.&amp;nbsp; I can't actually get the same color red.&amp;nbsp; &amp;nbsp;It's either a little darker or a little lighter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know a good way to get around this?&amp;nbsp; Because I like the JMP default pallete, but it's very hard to recreate the colors.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 17:07:55 GMT</pubDate>
    <dc:creator>Evan_Morris</dc:creator>
    <dc:date>2023-08-04T17:07:55Z</dc:date>
    <item>
      <title>Graph legend color pallete align with default</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/665688#M85401</link>
      <description>&lt;P&gt;When I build a graph in JMP there is a default color palette (JMP Default).&amp;nbsp; &amp;nbsp;It's based on the order, alphabetical I think.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes I need to adjust the colors, but I would still like them to be the same as the default colors.&amp;nbsp; So for instance in 1 case I have 3 lines in my top graph (blue red green) and three lines in my bottom graph (purple orange....teal?).&amp;nbsp; And I want to change the 3 lines in the bottom graph to be the same as the top (blue red green).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that from what I can tell the colors I can&amp;nbsp;&lt;EM&gt;choose&lt;/EM&gt;&amp;nbsp;(with right click-&amp;gt;line color) are not aligned with the JMP default palette.&amp;nbsp; I can't actually get the same color red.&amp;nbsp; &amp;nbsp;It's either a little darker or a little lighter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know a good way to get around this?&amp;nbsp; Because I like the JMP default pallete, but it's very hard to recreate the colors.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 17:07:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/665688#M85401</guid>
      <dc:creator>Evan_Morris</dc:creator>
      <dc:date>2023-08-04T17:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Graph legend color pallete align with default</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/665957#M85421</link>
      <description>&lt;P&gt;Not sure how easy to use this idea is, but you could go to Other from Line Color menu and set those colors to Custom Colors. You might have to set Blue three times, red twice and green once as they will overwrite colors.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1691327414245.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55591i9B4EBB7227541363/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1691327414245.png" alt="jthi_0-1691327414245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then you can get the colors from Custom Colors to other lines.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1691327486241.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55592iE8E71E3AB91F286D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1691327486241.png" alt="jthi_1-1691327486241.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also depending on how you are creating your plots, there could be some other ways also.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 13:13:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/665957#M85421</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-06T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Graph legend color pallete align with default</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/674518#M86182</link>
      <description>&lt;P&gt;Yeah this was the method I was thinking of but really was hoping there was a more straightforward solution.&amp;nbsp; &amp;nbsp; Are you able to extract the RGB H/S/L values for the default colors somehow?&amp;nbsp; Otherwise it's going to be a pretty painstaking process of guess and check&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 16:08:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/674518#M86182</guid>
      <dc:creator>Evan_Morris</dc:creator>
      <dc:date>2023-09-05T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph legend color pallete align with default</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/674658#M86191</link>
      <description>&lt;P&gt;I do know one way of getting those values, but they are based in index (or something...). You can have a table with a lot of different nominal/ordinal values and then set column property value colors with the theme you want. This will give a script like this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table("Big Class"):name &amp;lt;&amp;lt; Set Property(
	"Value Colors",
	{"ALFRED" = -13912408, "ALICE" = -4042310, "AMY" = -4354269, "BARBARA" =
	-13400361, "CAROL" = -2668175, "CHRIS" = -10628061, "CLAY" = -12893483, "DANNY"
	 = -2600622, "DAVID" = -12921289, "EDWARD" = -9351208, "ELIZABETH" = -2661054,
	"FREDERICK" = -13576604, "HENRY" = -9282864, "JACLYN" = -6995852, "JAMES" =
	-1524612, "JANE" = -9458080, "JEFFREY" = -14452073, "JOE" = -6391856, "JOHN" =
	-2745505, "JUDY" = -10199751, "KATIE" = -7150697, "KIRK" = -10513726, "LAWRENCE"
	 = -8381519, "LESLIE" = -3502441, "LEWIS" = -3615440, "LILLIE" = -13925307,
	"LINDA" = -11502354, "LOUISE" = -7449196, "MARION" = -9229791, "MARK" = -4074344,
	"MARTHA" = -13050224, "MARY" = -12565885, "MICHAEL" = -2068529, "PATTY" =
	-4494272, "PHILLIP" = -11824110, "ROBERT" = -8734293, "SUSAN" = -13849421, "TIM"
	 = -13294235, "WILLIAM" = -1078076}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And I think those can be converted by using Color To RGB or Color To HLS&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

Column(dt, "name") &amp;lt;&amp;lt; Set Property(
	"Value Colors",
	{"ALFRED" = -13912408, "ALICE" = -4042310, "AMY" = -4354269, "BARBARA" =
	-13400361, "CAROL" = -2668175, "CHRIS" = -10628061, "CLAY" = -12893483, "DANNY"
	 = -2600622, "DAVID" = -12921289, "EDWARD" = -9351208, "ELIZABETH" = -2661054,
	"FREDERICK" = -13576604, "HENRY" = -9282864, "JACLYN" = -6995852, "JAMES" =
	-1524612, "JANE" = -9458080, "JEFFREY" = -14452073, "JOE" = -6391856, "JOHN" =
	-2745505, "JUDY" = -10199751, "KATIE" = -7150697, "KIRK" = -10513726, "LAWRENCE"
	 = -8381519, "LESLIE" = -3502441, "LEWIS" = -3615440, "LILLIE" = -13925307,
	"LINDA" = -11502354, "LOUISE" = -7449196, "MARION" = -9229791, "MARK" = -4074344,
	"MARTHA" = -13050224, "MARY" = -12565885, "MICHAEL" = -2068529, "PATTY" =
	-4494272, "PHILLIP" = -11824110, "ROBERT" = -8734293, "SUSAN" = -13849421, "TIM"
	 = -13294235, "WILLIAM" = -1078076}
);

colors = Column(dt, "name") &amp;lt;&amp;lt; Get Property("Value Colors");

color_aa = Parse(Substitute(Char(colors), "=", "=&amp;gt;", "{", "[", "}", "]"));
color_list = color_aa &amp;lt;&amp;lt; get values;
Color To RGB(color_list[1]);
Color to HLS(color_list[1]);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Depending on the use cases you have, you might be able to write a script to do the color correction in graph builder. Other option would to be have data in such a format (stacked most likely), that you could have a column which you can use to determine the&amp;nbsp; colors&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 05:02:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-legend-color-pallete-align-with-default/m-p/674658#M86191</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-09-06T05:02:46Z</dc:date>
    </item>
  </channel>
</rss>

