<?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 GB by page log scale with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/GB-by-page-log-scale-with-JSL/m-p/414841#M66390</link>
    <description>&lt;P&gt;If i only do graph builder with page, i can do the log scale with JSL without any issue. But when i adding graph builder by page. the log scale only happend to 1st page only. the other page don't have the log scale. Can anyone advise how to get it done?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cht_NFC_RD_BE_FME_SB = dt_NFC_RD_BE_FME_SB &amp;lt;&amp;lt; Graph Builder(
	Size( 1058, 1464 ),
	Show Control Panel( 0 ),
	Variables( 
		X( :CYC ), 
		Y( :Name( "NFC_RD_BE_FME_SB(Cnt)" ) ), 
		Page( :Wafer ) 		
	),
	Elements( Box Plot( X, Y, Legend( 4 ) ), Line( X, Y, Legend( 5 ) ) )
);
Report(cht_NFC_RD_BE_FME_SB)[Axisbox(2)] &amp;lt;&amp;lt; {Scale("Log"), Min( 1 ), Max( 4096 ), Inc( 1 ), Minor Ticks(1), Show Major Grid(1)};&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st page get the log scale , but 2nd page onward don't get the log scale.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OneNorthJMP_0-1630593731042.png" style="width: 552px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35489i9B374C7AAB6DEE99/image-dimensions/552x436?v=v2" width="552" height="436" role="button" title="OneNorthJMP_0-1630593731042.png" alt="OneNorthJMP_0-1630593731042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 19:55:48 GMT</pubDate>
    <dc:creator>OneNorthJMP</dc:creator>
    <dc:date>2023-06-09T19:55:48Z</dc:date>
    <item>
      <title>GB by page log scale with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/GB-by-page-log-scale-with-JSL/m-p/414841#M66390</link>
      <description>&lt;P&gt;If i only do graph builder with page, i can do the log scale with JSL without any issue. But when i adding graph builder by page. the log scale only happend to 1st page only. the other page don't have the log scale. Can anyone advise how to get it done?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cht_NFC_RD_BE_FME_SB = dt_NFC_RD_BE_FME_SB &amp;lt;&amp;lt; Graph Builder(
	Size( 1058, 1464 ),
	Show Control Panel( 0 ),
	Variables( 
		X( :CYC ), 
		Y( :Name( "NFC_RD_BE_FME_SB(Cnt)" ) ), 
		Page( :Wafer ) 		
	),
	Elements( Box Plot( X, Y, Legend( 4 ) ), Line( X, Y, Legend( 5 ) ) )
);
Report(cht_NFC_RD_BE_FME_SB)[Axisbox(2)] &amp;lt;&amp;lt; {Scale("Log"), Min( 1 ), Max( 4096 ), Inc( 1 ), Minor Ticks(1), Show Major Grid(1)};&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st page get the log scale , but 2nd page onward don't get the log scale.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OneNorthJMP_0-1630593731042.png" style="width: 552px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35489i9B374C7AAB6DEE99/image-dimensions/552x436?v=v2" width="552" height="436" role="button" title="OneNorthJMP_0-1630593731042.png" alt="OneNorthJMP_0-1630593731042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:55:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/GB-by-page-log-scale-with-JSL/m-p/414841#M66390</guid>
      <dc:creator>OneNorthJMP</dc:creator>
      <dc:date>2023-06-09T19:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: GB by page log scale with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/GB-by-page-log-scale-with-JSL/m-p/414881#M66395</link>
      <description>&lt;P&gt;You are only getting the reference to first graph with&lt;/P&gt;&lt;LI-CODE lang="jsl"&gt;Report(cht_NFC_RD_BE_FME_SB)[Axisbox(2)] &lt;/LI-CODE&gt;&lt;P&gt;You could get all the references and then loop over them or then possibly use Xpath (not sure how to get all axis references without it in a list when using just DisplayBoxes) and set them all at the same time. Something like this could work:&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/Reliability/Fan.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(534, 956),
	Show Control Panel(0),
	Variables(X(:Time), Y(:Exponential), Page(:Censor)),
	Elements(Points(X, Y, Legend(8)), Smoother(X, Y, Legend(9))),
	SendToReport(Dispatch({}, "Exponential", ScaleBox, {Format("Best", 9)}))
);

rep = Report(gb) &amp;lt;&amp;lt; XPath("//AxisBox");
rep = rep[2::N Items(rep)::2]; //get every other value
rep &amp;lt;&amp;lt; {Scale("Log"), Minor Ticks(1), Show Major Grid(1)};&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Understanding the Xpath and "matrix operation" are quite critical here, and I suggest playing around with them a bit to understand what is going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 15:09:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/GB-by-page-log-scale-with-JSL/m-p/414881#M66395</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-09-02T15:09:42Z</dc:date>
    </item>
  </channel>
</rss>

