<?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 Can I get elements in &amp;quot;Group Y&amp;quot;  to &amp;quot;Y&amp;quot;  in Graph Builder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675324#M86231</link>
    <description>&lt;P&gt;The script below generates data similar to my actual data and plots the data in a layout similar to what I would like.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
clear log ();
dt = Open("$SAMPLE_DATA/Probe.jmp");
// Combine columns 1
Data Table( "Probe" ) &amp;lt;&amp;lt; Combine Columns(columns( :Lot ID, :Wafer Number ),	Column Name( "LotWafer" ),	Delimiter( "." ));
// Combine columns 2
Data Table( "Probe" ) &amp;lt;&amp;lt; Combine Columns(columns( :Die X, :Die Y ), Column Name( "[X,Y]" ), Delimiter( "," ));
// Delete columns
Data Table( "Probe" ) &amp;lt;&amp;lt; Delete Columns( :Lot ID, :Wafer Number, :Die X, :Die Y );
grouped_cols = dt &amp;lt;&amp;lt; get column group( "Responses" );

// Transpose data table // → Data Table( "Transpose of Probe" )
Data Table( "Probe" ) &amp;lt;&amp;lt; Transpose(	columns (grouped_cols),	By( :LotWafer, :Process, :Start Time ),
	Label( :Site ),	Output Table( "Transpose of Probe" ));
close (dt, no save);
dt = Current Data Table (); 
Data Table( "Transpose of Probe" ) 
&amp;lt;&amp;lt; New Column("Mean", Numeric, "Continuous", Format("Best", 12 ), Formula(Mean( :"1"n, :"2"n, :"3"n, :"4"n, :"5"n )));
dt = Graph Builder(
	Size( 570, 458 ),
	Show Control Panel( 0 ),
	Variables(X(:LotWafer, Order By( :Start Time, Ascending, Order Statistic( "Mean" ) )),
		     Y( :Mean ), Group Y(:Label,	Order By( :Process, Ascending, Order Statistic( "Mean" ) ))	),
	Elements( Points( X, Y, Legend( 23 ) ) ),
	Local Data Filter(Conditional, Add Filter(columns( :Label ),Where( :Label == {"30D1_7X100_IL_12V", "30D1_7X100_IL_25V"} ),
			Display( :Label, Find( Set Text( "" ) ) ))),
	SendToReport(Dispatch({},"Mean",ScaleBox,{Min( -0.0000336 ), Max( 0.00004544 ),
			Inc( 0.00001 ), Minor Ticks( 1 )})));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I would like the Process name mentioned on the Group Y (i.e. I do not want Group Y section to say, "Label ordered by Process"). As I select more labels on the local data filter (conditional), I would like the Group Y and Y to be populated accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even better would be to have the measured parameter "Labels" on the left side "Y" axis while the "Process" names in the "Group Y" and they need to respond to my selection on the local data filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to achieve this in JSL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 15:06:40 GMT</pubDate>
    <dc:creator>Neo</dc:creator>
    <dc:date>2023-09-07T15:06:40Z</dc:date>
    <item>
      <title>Can I get elements in "Group Y"  to "Y"  in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675324#M86231</link>
      <description>&lt;P&gt;The script below generates data similar to my actual data and plots the data in a layout similar to what I would like.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
clear log ();
dt = Open("$SAMPLE_DATA/Probe.jmp");
// Combine columns 1
Data Table( "Probe" ) &amp;lt;&amp;lt; Combine Columns(columns( :Lot ID, :Wafer Number ),	Column Name( "LotWafer" ),	Delimiter( "." ));
// Combine columns 2
Data Table( "Probe" ) &amp;lt;&amp;lt; Combine Columns(columns( :Die X, :Die Y ), Column Name( "[X,Y]" ), Delimiter( "," ));
// Delete columns
Data Table( "Probe" ) &amp;lt;&amp;lt; Delete Columns( :Lot ID, :Wafer Number, :Die X, :Die Y );
grouped_cols = dt &amp;lt;&amp;lt; get column group( "Responses" );

// Transpose data table // → Data Table( "Transpose of Probe" )
Data Table( "Probe" ) &amp;lt;&amp;lt; Transpose(	columns (grouped_cols),	By( :LotWafer, :Process, :Start Time ),
	Label( :Site ),	Output Table( "Transpose of Probe" ));
close (dt, no save);
dt = Current Data Table (); 
Data Table( "Transpose of Probe" ) 
&amp;lt;&amp;lt; New Column("Mean", Numeric, "Continuous", Format("Best", 12 ), Formula(Mean( :"1"n, :"2"n, :"3"n, :"4"n, :"5"n )));
dt = Graph Builder(
	Size( 570, 458 ),
	Show Control Panel( 0 ),
	Variables(X(:LotWafer, Order By( :Start Time, Ascending, Order Statistic( "Mean" ) )),
		     Y( :Mean ), Group Y(:Label,	Order By( :Process, Ascending, Order Statistic( "Mean" ) ))	),
	Elements( Points( X, Y, Legend( 23 ) ) ),
	Local Data Filter(Conditional, Add Filter(columns( :Label ),Where( :Label == {"30D1_7X100_IL_12V", "30D1_7X100_IL_25V"} ),
			Display( :Label, Find( Set Text( "" ) ) ))),
	SendToReport(Dispatch({},"Mean",ScaleBox,{Min( -0.0000336 ), Max( 0.00004544 ),
			Inc( 0.00001 ), Minor Ticks( 1 )})));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I would like the Process name mentioned on the Group Y (i.e. I do not want Group Y section to say, "Label ordered by Process"). As I select more labels on the local data filter (conditional), I would like the Group Y and Y to be populated accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even better would be to have the measured parameter "Labels" on the left side "Y" axis while the "Process" names in the "Group Y" and they need to respond to my selection on the local data filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to achieve this in JSL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 15:06:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675324#M86231</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-09-07T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get elements in "Group Y"  to "Y"  in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675347#M86232</link>
      <description>&lt;P&gt;You can hide the group title&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1694100319481.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56338iDED549261B3D8583/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1694100319481.png" alt="jthi_0-1694100319481.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Might be a good idea to remove min/max from your graph builder script to allow Y-axis to scale as it wants to&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 15:31:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675347#M86232</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-09-07T15:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get elements in "Group Y"  to "Y"  in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675374#M86237</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;. The graph builder part of the script was generated after interactively doing the layout using the Graph Builder. Hence the min/max.&lt;/P&gt;&lt;P&gt;I do not need to hide the group title. I want it to be shown as "New" and "Old" separately (in place of &lt;SPAN&gt;ordered by Process&lt;/SPAN&gt;). How to di this in JSL?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 16:15:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675374#M86237</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-09-07T16:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get elements in "Group Y"  to "Y"  in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675404#M86238</link>
      <description>&lt;P&gt;Drop the process to this location&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1694108805365.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56341iB24123D726EC3958/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1694108805365.png" alt="jthi_0-1694108805365.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 17:47:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675404#M86238</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-09-07T17:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get elements in "Group Y"  to "Y"  in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675525#M86245</link>
      <description>&lt;P&gt;Nice idea, use a Data Filter as a Column Switcher with modeling Type Multiple Response :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To move the Y Group labels to the left right click on the Y Group and select Y Group Edge/Left:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1694120650519.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56363i90EA773B662A6D53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1694120650519.png" alt="hogi_0-1694120650519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To order the entries by Process, the order column has to be numeric.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OK to put the Process label on top?&lt;BR /&gt;Alternatively, you could use different colors to distinguish between old and new value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1694121024146.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56366iB38A04C6C79A871E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1694121024146.png" alt="hogi_1-1694121024146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Process &amp;lt;&amp;lt; Set Property( "Value Order", {Custom Order( {"Old", "New"} )} );
New Column( "Process2", Set Each Value(If(:Process=="Old",1,2)) );
Graph Builder(
	Show Y Axis Title( 0 ),
	Y Group Edge( "Left" ),
	Variables(
		X( :LotWafer, Order By( :Start Time, Ascending, Order Statistic( "Mean" ) ) ),
		Y( :Mean ),
		Group X( :Process ),
		Group Y(
			:Label,
			Order By( :Process 2, Ascending, Order Statistic( "Mean" ) ),
			Show Title( 0 )
		),
		Overlay( :Process )
	),
	Elements( Points( X, Y, Legend( 23 ) ) ),
	Local Data Filter(
		Conditional,
		Add Filter(
			columns( :Label ),
			Where( :Label == {"30D1_7X100_IL_12V", "30D2_7X20_BDV"}  ),
			Display( :Label, N Items( 15 ), Find( Set Text( "" ) ) )
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 21:13:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675525#M86245</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-09-07T21:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get elements in "Group Y"  to "Y"  in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675564#M86250</link>
      <description>&lt;P&gt;alternative approach, with std. BigClass&amp;nbsp; (with&amp;nbsp;sex = Process):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create an new Label with "_process" appended&lt;BR /&gt;perhaps an additional subplot as an indicator for the "process"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1694156431041.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56374iEAC8259A633B2C60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1694156431041.png" alt="hogi_1-1694156431041.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;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 437, 413 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);

dtStacked =  dt &amp;lt;&amp;lt; Stack(
	columns( :height, :weight ),
	Source Label Column( "Label" ),
	Stacked Data Column( "Data" ),
	Output Table( "Untitled 3.jmp" )
);

dtStacked &amp;lt;&amp;lt; New Column( "myLabel",Character,Formula( :Label || "_" || :sex ));

dtStacked &amp;lt;&amp;lt; Graph Builder(
	Size( 494, 335 ),
	Show Control Panel( 0 ),
	Show Y Axis Title( 0 ),
	Set α Level( 0.01 ),
	Y Group Edge( "Left" ),
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables(
		X( :name ),
		X( :sex ),
		Y( :Data ),
		Group Y( :myLabel ),
		Overlay( :sex ),
		Color( :sex )
	),
	Relative Sizes( "X", [240 56] ),
	Elements( Position( 1, 1 ), Points( X, Y, Legend( 37 ) ) ),
	Elements( Position( 2, 1 ), Heatmap( X, Legend( 31 ) ) ),
	Local Data Filter( Add Filter( columns( :Label ), Where( :Label == "weight" ) ) )
)
	&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Sep 2023 07:01:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-get-elements-in-quot-Group-Y-quot-to-quot-Y-quot-in-Graph/m-p/675564#M86250</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-09-08T07:01:41Z</dc:date>
    </item>
  </channel>
</rss>

