<?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: Variability graph for JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628637#M82695</link>
    <description>&lt;P&gt;The obj variable contains a list of Variability Chart objects for each level of the By variable. You are subscripting a list with a display box, which is invalid. Try this alternative in which you subscript the list with an index first:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// obj is a list of analysis layer references
obj = dt &amp;lt;&amp;lt; Variability Chart( Y( :NUMERIC_RESULT ), X( :TEST_NAME 3 ), BY( :TYPE ) );

// rpt is a list of report layer references
rpt = obj &amp;lt;&amp;lt; Report;

// identify By group levels
Summarize( type = Group( :TYPE ) );

// iterate over By group levels to modify display boxes
For( t = 1, t &amp;lt;= N Items( type ), t++,
	rpt[t][FrameBox( 1 )] &amp;lt;&amp;lt; Frame Size( 700, 600 );
	rpt[t][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref Line( 340, "Solid", "Red", "Limit 340", 1 );
	rpt[t][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref Line( 280, "Solid", "Red", "Limit 280", 1 );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 18:15:14 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2023-05-04T18:15:14Z</dc:date>
    <item>
      <title>Variability graph for JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628525#M82685</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;I have written a script JSL for the Variability graph&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;obj = dt &amp;lt;&amp;lt; Variability Chart(
	Y( :NUMERIC_RESULT ),
	X( :TEST_NAME 3 ),
	BY( :TYPE )
);
(obj &amp;lt;&amp;lt; Report)[FrameBox( 1 )] &amp;lt;&amp;lt; Frame Size( 700, 600 );
(obj &amp;lt;&amp;lt; Report)[AxisBox( 1 )] &amp;lt;&amp;lt;
Add Ref Line( 340, "Solid", "Red", "Limit 340", 1 );
(obj &amp;lt;&amp;lt; Report)[AxisBox( 1 )] &amp;lt;&amp;lt;
Add Ref Line( 280, "Solid", "Red", "Limit 280", 1 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;and would like to determine the size of the graph and limits line.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;I tried to use AxisBox&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&lt;STRONG&gt;for size:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(obj &amp;lt;&amp;lt; Report)[FrameBox( 1 )] &amp;lt;&amp;lt; Frame Size( 400, 400 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&lt;STRONG&gt;for limits:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(obj &amp;lt;&amp;lt; Report)[AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref Line( 340, "Solid", "Red", "Limit 340", 1 );
(obj &amp;lt;&amp;lt; Report)[AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref Line( 280, "Solid", "Red", "Limit 280", 1 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&lt;FONT face="Arial"&gt;&lt;SPAN&gt;but I received error.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&lt;FONT face="Arial"&gt;&lt;SPAN&gt;Can you please fix my script for this&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;requests&lt;FONT face="Arial"&gt;&lt;SPAN&gt;?&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_0-1683210467771.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52558iB6DE49177B649C60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_0-1683210467771.png" alt="Dennisbur_0-1683210467771.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:09:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628525#M82685</guid>
      <dc:creator>Dennisbur</dc:creator>
      <dc:date>2023-06-09T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variability graph for JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628637#M82695</link>
      <description>&lt;P&gt;The obj variable contains a list of Variability Chart objects for each level of the By variable. You are subscripting a list with a display box, which is invalid. Try this alternative in which you subscript the list with an index first:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// obj is a list of analysis layer references
obj = dt &amp;lt;&amp;lt; Variability Chart( Y( :NUMERIC_RESULT ), X( :TEST_NAME 3 ), BY( :TYPE ) );

// rpt is a list of report layer references
rpt = obj &amp;lt;&amp;lt; Report;

// identify By group levels
Summarize( type = Group( :TYPE ) );

// iterate over By group levels to modify display boxes
For( t = 1, t &amp;lt;= N Items( type ), t++,
	rpt[t][FrameBox( 1 )] &amp;lt;&amp;lt; Frame Size( 700, 600 );
	rpt[t][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref Line( 340, "Solid", "Red", "Limit 340", 1 );
	rpt[t][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref Line( 280, "Solid", "Red", "Limit 280", 1 );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 18:15:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628637#M82695</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-05-04T18:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variability graph for JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628660#M82698</link>
      <description>&lt;P&gt;So if I understood well, due to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp; &lt;STRONG&gt;BY&lt;/STRONG&gt;( :TYPE ) I need to use index FOR?&lt;BR /&gt;For example, if I have used it without function&amp;nbsp;&lt;STRONG&gt;BY&lt;/STRONG&gt;, can I use it directly without FOR?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;obj = dt &amp;lt;&amp;lt; Variability Chart(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Y( :NUMERIC_RESULT ),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X( :TEST_NAME 3 )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;(obj &amp;lt;&amp;lt; Report) [FrameBox (1)] &amp;lt;&amp;lt; Frame Size (700, 600);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;(obj &amp;lt;&amp;lt; Report) [AxisBox (1)] &amp;lt;&amp;lt; Add Ref Line( 340, "Solid", "Red", "Limit 340", 1);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;(obj &amp;lt;&amp;lt; Report) [AxisBox (1)] &amp;lt;&amp;lt; Add Ref Line( 280, "Solid", "Red", "Limit 280", 1);&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 19:00:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628660#M82698</guid>
      <dc:creator>Dennisbur</dc:creator>
      <dc:date>2023-05-04T19:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variability graph for JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628661#M82699</link>
      <description>&lt;P&gt;Yes, that way, without a variable in the By role, should work because the variable obj is no longer a list but a single analysis layer reference.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 19:19:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Variability-graph-for-JSL/m-p/628661#M82699</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-05-04T19:19:46Z</dc:date>
    </item>
  </channel>
</rss>

