<?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: Color Histograms with By statement in Distribution in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396116#M64679</link>
    <description>&lt;P&gt;If you restructure your code, you will be able to set the histograms to the color you want&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1624646949664.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33799i34B4B8348338A886/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1624646949664.png" alt="txnelson_0-1624646949664.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dis = dt &amp;lt;&amp;lt; Distribution(
	Stack( 1 ),
	Continuous Distribution(
		Column( :weight ),
		Quantiles( 0 ),
		Summary Statistics( 0 ),
		Horizontal Layout( 1 ),
		Vertical( 0 )
	),
	By( :Sex )
);
dis&amp;lt;&amp;lt;histogram color("blue");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 18:49:29 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-06-25T18:49:29Z</dc:date>
    <item>
      <title>Color Histograms with By statement in Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396089#M64676</link>
      <description>&lt;P&gt;I am trying to use distribution to create histograms By(: DeviceID), However when I apply the fill color only the last graph in the By statement gets changed to light blue. No matter what I do, only the last graph changes color. I just want the graphs to not be green.&lt;/P&gt;&lt;P&gt;Options that work for me:&lt;/P&gt;&lt;P&gt;1) color histograms by device ID&lt;/P&gt;&lt;P&gt;2) color histograms both to be blue&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saneal_0-1624643795700.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33796iB0BCA0FBD70103F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saneal_0-1624643795700.png" alt="saneal_0-1624643795700.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;WaferRgPastMonth &amp;lt;&amp;lt; Distribution(
	Stack( 1 ),
	Automatic Recalc( 1 ),
	Continuous Distribution( Column( :Rg ), Horizontal Layout( 1 ), Vertical( 0 ) ),
	By( :DeviceID ),
	Local Data Filter( Close Outline( 1 ), Add Filter( columns( :FailDie ), Where( :FailDie == 0 ) ) ),
	SendToReport(
		Dispatch( {"Rg"}, "Distrib Outlier Box", FrameBox, {Frame Size( 350, 46 )} ),
		Dispatch(
			{"Rg"},
			"Distrib Histogram",
			FrameBox,
			{Frame Size( 277, 110 ), DispatchSeg( Hist Seg( 1 ), {Line Color( {56, 82, 112} ), Fill Color( "Light Blue" )} )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:15:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396089#M64676</guid>
      <dc:creator>saneal</dc:creator>
      <dc:date>2023-06-11T11:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Color Histograms with By statement in Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396116#M64679</link>
      <description>&lt;P&gt;If you restructure your code, you will be able to set the histograms to the color you want&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1624646949664.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33799i34B4B8348338A886/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1624646949664.png" alt="txnelson_0-1624646949664.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dis = dt &amp;lt;&amp;lt; Distribution(
	Stack( 1 ),
	Continuous Distribution(
		Column( :weight ),
		Quantiles( 0 ),
		Summary Statistics( 0 ),
		Horizontal Layout( 1 ),
		Vertical( 0 )
	),
	By( :Sex )
);
dis&amp;lt;&amp;lt;histogram color("blue");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 18:49:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396116#M64679</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-06-25T18:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Color Histograms with By statement in Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396882#M64757</link>
      <description>Thank you so much!!</description>
      <pubDate>Tue, 29 Jun 2021 16:09:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Color-Histograms-with-By-statement-in-Distribution/m-p/396882#M64757</guid>
      <dc:creator>saneal</dc:creator>
      <dc:date>2021-06-29T16:09:25Z</dc:date>
    </item>
  </channel>
</rss>

