<?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: JSL how to change the color of a single column in a Pareto plot? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/684665#M87057</link>
    <description>&lt;P&gt;Pareto plot seems to offer option of coloring selected causes&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1696622318727.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57265iECD54E1AF0745C9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1696622318727.png" alt="jthi_0-1696622318727.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And JMP will give you a script like this (using Failure Raw Data)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Pareto Plot(
	Cause(:failure),
	Cause Colors(
		{{"contamination", "Gray"}, {"oxide defect", "Red"}
		}
	),
	SendToReport(
		Dispatch(
			{"Plots"},
			"",
			TextEditBox,
			{Rotate Text("Left"), Set Wrap(277), Set Base Font("Axis Title")}
		),
		Dispatch(
			{"Plots"},
			"",
			Text Edit Box(2),
			{Rotate Text("Right"), Set Wrap(277), Set Base Font("Axis Title")}
		),
		Dispatch(
			{"Plots"},
			"",
			Text Edit Box(3),
			{Set Wrap(277), Set Base Font("Axis Title")}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So you should be able to color them by building value,color pairs into a list&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 20:00:46 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-10-06T20:00:46Z</dc:date>
    <item>
      <title>JSL how to change the color of a single column in a Pareto plot?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/684638#M87055</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm interested in using JSL to change the color of a single bar (or perhaps multiple bars) in a Pareto Plot and not rely on the interactive row selection of a data table to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I found these two helpful discussions &lt;A href="https://community.jmp.com/t5/Discussions/How-can-you-change-the-color-of-one-single-bin-of-a-histogram/td-p/18246" target="_self"&gt;here&lt;/A&gt; and &lt;A href="https://community.jmp.com/t5/Discussions/Change-Single-Bar-Color/td-p/107952" target="_self"&gt;here&lt;/A&gt;, but they're not quite what I'm after. I can of course make the graph using Graph Builder instead of the Pareto Plot platform, that's not the problem necessarily. After a lot of searching, haven't really found how to do it as I would like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'd prefer to not have to create a Transformed column, like in one of the examples, and I'd also prefer not to change the preferences within JMP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For example, using the Car.jmp file, and making a Pareto Plot of :Make as the Cause and :Wt as the Freq, I'd like to color a few specific columns. In the screenshot below, the car Makes Chevrolet, Toyota, and Honda are selected and "highlighted", but I'd like to make these a specific color (eg: red, or black, or green) -- hopefully using JSL.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1696619938359.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57264i62E6D7DEF9C7EC12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1696619938359.png" alt="SDF1_0-1696619938359.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any thoughts/suggestions are much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 19:27:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/684638#M87055</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-10-06T19:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: JSL how to change the color of a single column in a Pareto plot?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/684665#M87057</link>
      <description>&lt;P&gt;Pareto plot seems to offer option of coloring selected causes&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1696622318727.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57265iECD54E1AF0745C9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1696622318727.png" alt="jthi_0-1696622318727.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And JMP will give you a script like this (using Failure Raw Data)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Pareto Plot(
	Cause(:failure),
	Cause Colors(
		{{"contamination", "Gray"}, {"oxide defect", "Red"}
		}
	),
	SendToReport(
		Dispatch(
			{"Plots"},
			"",
			TextEditBox,
			{Rotate Text("Left"), Set Wrap(277), Set Base Font("Axis Title")}
		),
		Dispatch(
			{"Plots"},
			"",
			Text Edit Box(2),
			{Rotate Text("Right"), Set Wrap(277), Set Base Font("Axis Title")}
		),
		Dispatch(
			{"Plots"},
			"",
			Text Edit Box(3),
			{Set Wrap(277), Set Base Font("Axis Title")}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So you should be able to color them by building value,color pairs into a list&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 20:00:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/684665#M87057</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-06T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: JSL how to change the color of a single column in a Pareto plot?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/685028#M87100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the info and pointing out that the Pareto platform already has a built-in option for coloring columns. Once I was able to build the nested list correctly, I was able to pass it to the Pareto platform and it works great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 14:54:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-how-to-change-the-color-of-a-single-column-in-a-Pareto-plot/m-p/685028#M87100</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-10-09T14:54:18Z</dc:date>
    </item>
  </channel>
</rss>

