<?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: JMP16 Generate Loop to Run Repeating Charts in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602042#M80551</link>
    <description>&lt;P&gt;I think that&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;second solution, using a BY() variable is the first solution you should try.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 16:11:37 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-02-16T16:11:37Z</dc:date>
    <item>
      <title>JMP16 Generate Loop to Run Repeating Charts</title>
      <link>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/601960#M80539</link>
      <description>&lt;P&gt;I attached a sample data set and script for reference. I want to generate multiple Normal Quantile distribution charts based upon a set of categorical variables in Col2. In this case there are 16 unique variables in Col2 but that could vary. Currently I am subsetting the data for categorical variable from Col2, then generating the Normal Quantile distribution chart. I just repeat this process for the remaining unique categorical variables from Col2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to setup a basic loop to handle this iteration through the unique categorical variables in Col2 and generate the associated Normal Quantile distribution.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:35:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/601960#M80539</guid>
      <dc:creator>WoHNY</dc:creator>
      <dc:date>2023-06-08T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: JMP16 Generate Loop to Run Repeating Charts</title>
      <link>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602009#M80542</link>
      <description>&lt;P&gt;What are you going to do with those charts 16 reports (and then 17 tables you will have open)? I'm asking because Local Data Filter could be one option depending on what you are trying to do&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1676560201846.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50230iAD209EA7DB687BC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1676560201846.png" alt="jthi_0-1676560201846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Oneway(
	Y(:Col3),
	X(:Col4),
	Plot Quantile by Actual(1),
	Line of Fit(0),
	Normal Quantile Label(0),
	Local Data Filter(
		Add Filter(
			columns(:Col2),
			Where(:Col2 == "V2_0"),
			Display(:Col2, N Items(15))
		)
	),
	SendToReport(
		Dispatch(
			{},
			"1",
			ScaleBox,
			{Label Row({Show Major Grid(1), Show Minor Grid(1)})}
		),
		Dispatch(
			{"Normal Quantile Plot"},
			"1",
			ScaleBox,
			{Label Row({Show Major Grid(1), Show Minor Grid(1)})}
		),
		Dispatch(
			{"Normal Quantile Plot"},
			"2",
			ScaleBox,
			{Min(0.000347463516330788), Max(0.999652536483669), Inc(0.1),
			Minor Ticks(0), Add Ref Line(0.5, "Dashed", "Black", "", 1)}
		),
		Dispatch(
			{"Normal Quantile Plot"},
			"Oneway QuantilePlot",
			FrameBox,
			{Marker Size(1), Marker Drawing Mode("Normal")}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Other simple solution might be using By&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1676560335675.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50231iFB251A5FCD387AB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1676560335675.png" alt="jthi_1-1676560335675.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After exploring those options I would start thinking about looping if needed.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 15:12:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602009#M80542</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-16T15:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: JMP16 Generate Loop to Run Repeating Charts</title>
      <link>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602042#M80551</link>
      <description>&lt;P&gt;I think that&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;second solution, using a BY() variable is the first solution you should try.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 16:11:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602042#M80551</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-02-16T16:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: JMP16 Generate Loop to Run Repeating Charts</title>
      <link>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602045#M80553</link>
      <description>&lt;P&gt;Thank you for the response. As I often say, if it was a snake it would have bit me! It was staring me right on the face for this one. Thanks for highlighting the "By" field for this case. I also have a question about the Graph &amp;gt; Graph Builder path for box plots if I don't want to utilize the Page option but run individual charts but I'll open another question for that. Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 16:18:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP16-Generate-Loop-to-Run-Repeating-Charts/m-p/602045#M80553</guid>
      <dc:creator>WoHNY</dc:creator>
      <dc:date>2023-02-16T16:18:37Z</dc:date>
    </item>
  </channel>
</rss>

