<?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: How to determine min and max of axis using JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2312#M2312</link>
    <description>I don't know if there's an easier way of doing it than this, but the following seems to do the trick by assigning all the properties of axis box[1] and axis box[2] to the appropriate columns of Big Class, from where they can presumably be extracted:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;open("$SAMPLE_DATA/Big Class.jmp");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gg = Overlay Plot( X( :height ), Y( :weight ), Separate Axes( 1 ) );&lt;BR /&gt;&lt;BR /&gt;ggr = gg &amp;lt;&amp;lt; report;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;show properties(ggr[axis box(1)]); // to see what the options are;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ggr[axis box(1)] &amp;lt;&amp;lt; save to column property;&lt;BR /&gt;&lt;BR /&gt;ggr[axis box(2)] &amp;lt;&amp;lt; save to column property;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does that solve the problem?</description>
    <pubDate>Sun, 22 Aug 2010 10:20:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-22T10:20:23Z</dc:date>
    <item>
      <title>How to determine min and max of axis using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2311#M2311</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Does anyone know how to determine the min and max values for an axisbox?  There are Min ans Max messages but these only allow you to set the values - I need to read them.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 21 Aug 2010 17:31:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2311#M2311</guid>
      <dc:creator />
      <dc:date>2010-08-21T17:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine min and max of axis using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2312#M2312</link>
      <description>I don't know if there's an easier way of doing it than this, but the following seems to do the trick by assigning all the properties of axis box[1] and axis box[2] to the appropriate columns of Big Class, from where they can presumably be extracted:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;open("$SAMPLE_DATA/Big Class.jmp");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gg = Overlay Plot( X( :height ), Y( :weight ), Separate Axes( 1 ) );&lt;BR /&gt;&lt;BR /&gt;ggr = gg &amp;lt;&amp;lt; report;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;show properties(ggr[axis box(1)]); // to see what the options are;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ggr[axis box(1)] &amp;lt;&amp;lt; save to column property;&lt;BR /&gt;&lt;BR /&gt;ggr[axis box(2)] &amp;lt;&amp;lt; save to column property;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does that solve the problem?</description>
      <pubDate>Sun, 22 Aug 2010 10:20:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2312#M2312</guid>
      <dc:creator />
      <dc:date>2010-08-22T10:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine min and max of axis using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2313#M2313</link>
      <description>Building on this try the following:&lt;BR /&gt;&lt;BR /&gt;&lt;P class="MsoNoSpacing"&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: rgb(0, 0, 221);"&amp;gt;Open&lt;/SPAN&gt;&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;SPAN style="color: purple;"&gt;"$SAMPLE_DATA/Big&lt;BR /&gt;Class.jmp"&lt;/SPAN&gt; &lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;gg&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;Overlay Plot&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;X&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;:&lt;/SPAN&gt;height&lt;BR /&gt;&lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;,&lt;/SPAN&gt;&lt;BR /&gt;Y&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;:&lt;/SPAN&gt;weight&lt;BR /&gt;&lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;,&lt;/SPAN&gt;&lt;BR /&gt;Separate Axes&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: teal;"&amp;gt;1&lt;/SPAN&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;)&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;ggr &lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;gg &lt;SPAN style="color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: rgb(0, 0, 221);"&gt;report&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNoSpacing"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: rgb(0, 0, 221);"&amp;gt;Show Properties&lt;/SPAN&gt;&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;ggr&lt;B&gt;[&lt;/B&gt;axis&lt;BR /&gt;box&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: teal;"&amp;gt;1&lt;/SPAN&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;)]&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: green;"&gt;//&lt;BR /&gt;to see what the&lt;BR /&gt;options are;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNoSpacing"&gt;&lt;P&gt;&lt;/P&gt;axinfo1&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;ggr&lt;B&gt;[&lt;/B&gt;axis&lt;BR /&gt;box&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: teal;"&amp;gt;1&lt;/SPAN&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;)]&lt;/B&gt;&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;copy axis settings &lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;get script&lt;SPAN style="color: navy;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;axinfo2 &lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;ggr&lt;B&gt;[&lt;/B&gt;axis&lt;BR /&gt;box&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: teal;"&amp;gt;2&lt;/SPAN&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;)]&lt;/B&gt;&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;copy axis settings &lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;get script&lt;SPAN style="color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNoSpacing"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: rgb(0, 0, 221);"&amp;gt;Show&lt;/SPAN&gt;&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;axinfo1&lt;SPAN style="color: navy;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;axinfo2 &lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNoSpacing"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Max1&lt;BR /&gt;&lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;axinfo1&lt;B&gt;[&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: purple;"&amp;gt;"Max"&lt;/SPAN&gt;&lt;B&gt;]&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Min1 &lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;axinfo1&lt;B&gt;[&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: purple;"&amp;gt;"Min"&lt;/SPAN&gt;&lt;B&gt;]&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Max2 &lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;axinfo2&lt;B&gt;[&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: purple;"&amp;gt;"Max"&lt;/SPAN&gt;&lt;B&gt;]&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Min2 &lt;SPAN style="color: navy;"&gt;=&lt;/SPAN&gt;&lt;BR /&gt;axinfo2&lt;B&gt;[&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: purple;"&amp;gt;"Min"&lt;/SPAN&gt;&lt;B&gt;]&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNoSpacing"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: rgb(0, 0, 221);"&amp;gt;Show&lt;/SPAN&gt;&lt;B&gt;(&lt;/B&gt;&lt;BR /&gt;Max1&lt;SPAN style="color: navy;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;Min1&lt;SPAN style="color: navy;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;Max2&lt;SPAN style="color: navy;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;Min2 &lt;B&gt;)&lt;/B&gt;&lt;SPAN&gt;&lt;BR /&gt; style="color: navy;"&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2010 12:58:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2313#M2313</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2010-08-22T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine min and max of axis using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2314#M2314</link>
      <description>Two great tips. &lt;BR /&gt;&lt;BR /&gt;These should solve the immediate problem and I suspect a number of others where we have to go through slight convolutions to get JSL to do the things we "think" it should be able to do.&lt;BR /&gt;&lt;BR /&gt;Many thanks</description>
      <pubDate>Sun, 22 Aug 2010 14:03:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2314#M2314</guid>
      <dc:creator />
      <dc:date>2010-08-22T14:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine min and max of axis using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2315#M2315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked for me in JMP 10.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building off of DavidQR's example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open("$SAMPLE_DATA/Big Class.jmp"); &lt;/P&gt;&lt;P&gt;gg = Overlay Plot( X( :height ), Y( :weight ), Separate Axes( 1 ) ); &lt;/P&gt;&lt;P&gt;axis_setting_Min=(report(gg)[axisbox(1)]&amp;lt;&amp;lt;getscript())["Min"];&lt;/P&gt;&lt;P&gt;axis_setting_Max=(report(gg)[axisbox(1)]&amp;lt;&amp;lt;getscript())["Max"];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 14:07:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-determine-min-and-max-of-axis-using-JSL/m-p/2315#M2315</guid>
      <dc:creator>wiebepo</dc:creator>
      <dc:date>2013-04-30T14:07:16Z</dc:date>
    </item>
  </channel>
</rss>

