<?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 Re: Changing colors in compare means analysis in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801810#M97768</link>
    <description>&lt;P&gt;You might have to rely on scripting. This example is not very robust, but it gives an idea&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

ow = dt &amp;lt;&amp;lt; Oneway(Y(:height), X(:sex), Each Pair(1));

fb = Report(ow)[FrameBox(2)];

segs = fb &amp;lt;&amp;lt; Find Segs();
segs &amp;lt;&amp;lt; Class Name;

seg = fb &amp;lt;&amp;lt; Find Seg(CustomStreamSeg(1));

Eval(EvalExpr(
	fb &amp;lt;&amp;lt; Add Graphics Script(
		circles = Expr(seg &amp;lt;&amp;lt; get script);
		colors = {"Red", "Blue"};
		For(i = 1, i &amp;lt;= N Items(circles), i++,
			Pen Color(colors[i]);
			Pen Size(2);
			Eval(circles[i]);
		);
	);	
));

Write();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1727283826975.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68582i5E17D08FA6771E66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1727283826975.png" alt="jthi_0-1727283826975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 17:03:56 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-09-25T17:03:56Z</dc:date>
    <item>
      <title>Changing colors in compare means analysis</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801365#M97702</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Comparing multiple groups and hitting the "compare all means."&lt;/DIV&gt;&lt;DIV&gt;I always find it challenging to understand which circle belongs to which group.&lt;/DIV&gt;&lt;DIV&gt;I tried color-coding the groups, but I still can’t get the circles to change their colors.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I know JMP is programmed to indicate statistically significant groups by marking red vs. gray, but that is not helpful to my purposes.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I copied the picture and overlayed it with colorful circles in PPTX.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there a way to do it directly within JMP?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;While on the topic, is there a way to change the default presentation of “grand mean” + “diamond” in the ANOVA, and select a default of box plots?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Shahar&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Sep 2024 19:12:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801365#M97702</guid>
      <dc:creator>Shahar_JMP</dc:creator>
      <dc:date>2024-09-23T19:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing colors in compare means analysis</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801761#M97759</link>
      <description>&lt;P&gt;I feel your pain on this one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Rows menu you can use Color or Mark by Column and make an external legend, as well as save the colors to the column property.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Byron_JMP_0-1727272405915.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68572iCA3099B6FBE0F969/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Byron_JMP_0-1727272405915.png" alt="Byron_JMP_0-1727272405915.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;HOWEVER!!, even though the color is set for the column, the rings (as well as pretty much every graphical element in the Fit Y by X platform) ignores this, so coloring of boxes, rings, diamonds etc, all has to be done manually, one at a time, for every single graph you make.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;At the top of the screen, there is a "Wishlist" link. This might be a good thing to add there, if you have a few moments. (Staff can't add items to this wishlist)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 14:03:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801761#M97759</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2024-09-25T14:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changing colors in compare means analysis</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801810#M97768</link>
      <description>&lt;P&gt;You might have to rely on scripting. This example is not very robust, but it gives an idea&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

ow = dt &amp;lt;&amp;lt; Oneway(Y(:height), X(:sex), Each Pair(1));

fb = Report(ow)[FrameBox(2)];

segs = fb &amp;lt;&amp;lt; Find Segs();
segs &amp;lt;&amp;lt; Class Name;

seg = fb &amp;lt;&amp;lt; Find Seg(CustomStreamSeg(1));

Eval(EvalExpr(
	fb &amp;lt;&amp;lt; Add Graphics Script(
		circles = Expr(seg &amp;lt;&amp;lt; get script);
		colors = {"Red", "Blue"};
		For(i = 1, i &amp;lt;= N Items(circles), i++,
			Pen Color(colors[i]);
			Pen Size(2);
			Eval(circles[i]);
		);
	);	
));

Write();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1727283826975.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68582i5E17D08FA6771E66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1727283826975.png" alt="jthi_0-1727283826975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 17:03:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-colors-in-compare-means-analysis/m-p/801810#M97768</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-09-25T17:03:56Z</dc:date>
    </item>
  </channel>
</rss>

