<?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: For loop to show Variability Plot with Row Legend in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/275123#M53384</link>
    <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same as Jim finding, it take long time to run and hang intermittent. But i got it work on one time though.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2020 01:25:40 GMT</pubDate>
    <dc:creator>OneNorthJMP</dc:creator>
    <dc:date>2020-06-24T01:25:40Z</dc:date>
    <item>
      <title>For loop to show Variability Plot with Row Legend</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/274907#M53333</link>
      <description>&lt;P&gt;I want to plot multiple Variability plot with withe row legend display at the right. But when do this with the for loop, the row legend is not able to display. can anyone please advice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the graph i intended to have for every parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="with_legend.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24758i2BBE0FA92918167F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="with_legend.PNG" alt="with_legend.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead i only get the graph below with row legend display on the right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wo_legend.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24759i3549F75C6BCA2141/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wo_legend.PNG" alt="wo_legend.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );


/* Obtain a list of numeric/continuous column names as strings */
colList = dt &amp;lt;&amp;lt; Get Column Names( Continuous, String );


For( i = 2, i &amp;lt;= Nitems( colList ), i++,
	
	Variability Chart(
		Y( colList[i] ),
		X( :lot_id, :wafer ),
		Connect Cell Means( 1 ),
		Std Dev Chart( 0 ),
		SendToReport(
			Dispatch(
				{},
				"Variability Chart for " || colList[i],
				OutlineBox,
				{Set Title( "GROUP 1 Variability Chart for " || colList[i] )}
			),
			Dispatch(
				{"Variability Chart for " || colList[i]},
				"Variability Chart",
				FrameBox,
				{Row Legend(
					lot_id,
					Color( 1 ),
					Color Theme( "JMP Default" ),
					Marker( 1 ),
					Marker Theme( "Standard" ),
					Continuous Scale( 0 ),
					Reverse Scale( 0 ),
					Excluded Rows( 0 )
				)}
			)
		)
	);

);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:30:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/274907#M53333</guid>
      <dc:creator>OneNorthJMP</dc:creator>
      <dc:date>2023-06-09T23:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: For loop to show Variability Plot with Row Legend</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/274954#M53347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please run the following code.&lt;/P&gt;&lt;P&gt;I hope it does the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );


/* Obtain a list of numeric/continuous column names as strings */
colList = dt &amp;lt;&amp;lt; Get Column Names( Continuous, String );
win = New Window("Example");

For( i = 2, i &amp;lt;= Nitems( colList ), i++,
	
	win &amp;lt;&amp;lt; Append(varobj = Variability Chart(
		Y( Column(dt,colList[i]) ),
		X( :lot_id, :wafer ),
		Connect Cell Means( 1 ),Std Dev Chart( 0 )
	));
	(varobj &amp;lt;&amp;lt; report)[OutlineBox(1)] &amp;lt;&amp;lt; set Title("GROUP 1 " || ((varobj &amp;lt;&amp;lt; report)[OutlineBox(1)] &amp;lt;&amp;lt; Get Title));
	(varobj &amp;lt;&amp;lt; report)[FrameBox(1)] &amp;lt;&amp;lt; Row Legend(Column(dt,"lot_id"),Color( 1 ),Marker( 1 ));
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jun 2020 11:46:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/274954#M53347</guid>
      <dc:creator>tom_abramov</dc:creator>
      <dc:date>2020-06-23T11:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: For loop to show Variability Plot with Row Legend</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/275080#M53375</link>
      <description>&lt;P&gt;When I run this code, it seems to be stuck in a loop.&amp;nbsp; At anyrate, JMP appears to&amp;nbsp; hang.&amp;nbsp; I am running version 13.2.1&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 20:28:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/275080#M53375</guid>
      <dc:creator>jimloughlin</dc:creator>
      <dc:date>2020-06-23T20:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: For loop to show Variability Plot with Row Legend</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/275123#M53384</link>
      <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same as Jim finding, it take long time to run and hang intermittent. But i got it work on one time though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 01:25:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-to-show-Variability-Plot-with-Row-Legend/m-p/275123#M53384</guid>
      <dc:creator>OneNorthJMP</dc:creator>
      <dc:date>2020-06-24T01:25:40Z</dc:date>
    </item>
  </channel>
</rss>

