<?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: Pareto plot using existing row colors in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Pareto-plot-using-existing-row-colors/m-p/699664#M88449</link>
    <description>&lt;P&gt;Seems like JMP17 has added legend to pareto plot (and quite a many other new things) which overwrites the value colors column property&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1700201125706.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58854iFE8445A2CAEC277F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1700201125706.png" alt="jthi_0-1700201125706.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have to use Subcategory to get the colors, but if you use same column for that as you use for Cause, the plot gets ugly as it tries to fit the categories which are missing&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1700201173793.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58855iDE2EE41AA1396566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1700201173793.png" alt="jthi_1-1700201173793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/pareto-plots.shtml" target="_blank"&gt;Pareto Plots (jmp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of the time when I need pareto plots I tend to use Graph Builder, because in my opinion pareto plot platforms is very clunky. Using graph builder does take a bit more work and it doesn't have all the same features Pareto Plot has, but it is much more customizable for visualization purposes&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Failure Raw Data.jmp");
dt &amp;lt;&amp;lt; New Column("Ones", Numeric, Continuous, &amp;lt;&amp;lt;Set Each Value(1));
obj = dt &amp;lt;&amp;lt; Pareto Plot(Cause(:failure));

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 458),
	Show Control Panel(0),
	Variables(X(:failure, Order By(:failure, Descending, Order Statistic("N"))), Y(:Ones), Y(:Ones, Position(1), Side("Right")), Color(:failure)),
	Elements(Bar(X, Y(1), Legend(3), Summary Statistic("N")), Line(X, Y(2), Color(0), Legend(6), Summary Statistic("Cumulative Percent"))),
	SendToReport(
		Dispatch({}, "400", ScaleBox, {Legend Model(6, Properties(0, {Line Color(0)}, Item ID("Sum %", 1)))}),
		Dispatch({}, "Y title", TextEditBox, {Set Text("Count")}),
		Dispatch({}, "Y r title", TextEditBox, {Set Text("Cum Percent")})
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1700201583860.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58856i584AF446CF9C041D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1700201583860.png" alt="jthi_2-1700201583860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 06:13:24 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-11-17T06:13:24Z</dc:date>
    <item>
      <title>Pareto plot using existing row colors</title>
      <link>https://community.jmp.com/t5/Discussions/Pareto-plot-using-existing-row-colors/m-p/699502#M88439</link>
      <description>&lt;P&gt;On JMP 15/16, the pareto plot defaults to the color assigned to dataset rows.&amp;nbsp; On JMP 17 this is no longer true&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 21:02:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pareto-plot-using-existing-row-colors/m-p/699502#M88439</guid>
      <dc:creator>steveylin</dc:creator>
      <dc:date>2023-11-16T21:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pareto plot using existing row colors</title>
      <link>https://community.jmp.com/t5/Discussions/Pareto-plot-using-existing-row-colors/m-p/699664#M88449</link>
      <description>&lt;P&gt;Seems like JMP17 has added legend to pareto plot (and quite a many other new things) which overwrites the value colors column property&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1700201125706.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58854iFE8445A2CAEC277F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1700201125706.png" alt="jthi_0-1700201125706.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have to use Subcategory to get the colors, but if you use same column for that as you use for Cause, the plot gets ugly as it tries to fit the categories which are missing&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1700201173793.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58855iDE2EE41AA1396566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1700201173793.png" alt="jthi_1-1700201173793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/pareto-plots.shtml" target="_blank"&gt;Pareto Plots (jmp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of the time when I need pareto plots I tend to use Graph Builder, because in my opinion pareto plot platforms is very clunky. Using graph builder does take a bit more work and it doesn't have all the same features Pareto Plot has, but it is much more customizable for visualization purposes&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Failure Raw Data.jmp");
dt &amp;lt;&amp;lt; New Column("Ones", Numeric, Continuous, &amp;lt;&amp;lt;Set Each Value(1));
obj = dt &amp;lt;&amp;lt; Pareto Plot(Cause(:failure));

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 458),
	Show Control Panel(0),
	Variables(X(:failure, Order By(:failure, Descending, Order Statistic("N"))), Y(:Ones), Y(:Ones, Position(1), Side("Right")), Color(:failure)),
	Elements(Bar(X, Y(1), Legend(3), Summary Statistic("N")), Line(X, Y(2), Color(0), Legend(6), Summary Statistic("Cumulative Percent"))),
	SendToReport(
		Dispatch({}, "400", ScaleBox, {Legend Model(6, Properties(0, {Line Color(0)}, Item ID("Sum %", 1)))}),
		Dispatch({}, "Y title", TextEditBox, {Set Text("Count")}),
		Dispatch({}, "Y r title", TextEditBox, {Set Text("Cum Percent")})
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1700201583860.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58856i584AF446CF9C041D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1700201583860.png" alt="jthi_2-1700201583860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 06:13:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pareto-plot-using-existing-row-colors/m-p/699664#M88449</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-17T06:13:24Z</dc:date>
    </item>
  </channel>
</rss>

