<?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: Graph builder - how to add max for x-axis and y-axis using script y-function in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262041#M51293</link>
    <description>&lt;P&gt;You can get the max values for each of the Axes by&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Graph Builder( ………………………………. );

maxX = report(gb)[AxisBox(1)] &amp;lt;&amp;lt; get max;
max&amp;amp; = report(gb)[AxisBox(2)] &amp;lt;&amp;lt; get max;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It would be helpful to be more specific on how you are going to use the max values in a trend line.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 19:59:34 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-04-28T19:59:34Z</dc:date>
    <item>
      <title>Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262036#M51292</link>
      <description>&lt;P&gt;I am using graph builder-scatter plot. and adding different trend lines with different constant. and i want to add max for both x-axis and y-axis. how can i do that?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:30:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262036#M51292</guid>
      <dc:creator>swpatel</dc:creator>
      <dc:date>2020-04-28T19:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262041#M51293</link>
      <description>&lt;P&gt;You can get the max values for each of the Axes by&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Graph Builder( ………………………………. );

maxX = report(gb)[AxisBox(1)] &amp;lt;&amp;lt; get max;
max&amp;amp; = report(gb)[AxisBox(2)] &amp;lt;&amp;lt; get max;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It would be helpful to be more specific on how you are going to use the max values in a trend line.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:59:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262041#M51293</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-04-28T19:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262105#M51299</link>
      <description>First of all thanks for a very quick reply.&lt;BR /&gt;I want to basically show the trend line cut off for correlation purpose for x-axis and y-axis max allowable.&lt;BR /&gt;i was able to get the y-axis max (see picture how its maxed out at 530) but i cant figure out how to get the same for x-axis (I want to show max at 8).&lt;BR /&gt;i am using y function from script template.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:41:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262105#M51299</guid>
      <dc:creator>swpatel</dc:creator>
      <dc:date>2020-04-28T21:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262109#M51300</link>
      <description>No picture in your response</description>
      <pubDate>Tue, 28 Apr 2020 21:51:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262109#M51300</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-04-28T21:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262115#M51301</link>
      <description>&lt;P&gt;not sure why-heres the picture again-sorry about that.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-04-28 at 2.37.29 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23548iD6EB4EB6F9B3C3CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-04-28 at 2.37.29 PM.png" alt="Screen Shot 2020-04-28 at 2.37.29 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-04-28 at 2.37.45 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23549i0C5ADB4D2D245280/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-04-28 at 2.37.45 PM.png" alt="Screen Shot 2020-04-28 at 2.37.45 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:54:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262115#M51301</guid>
      <dc:creator>swpatel</dc:creator>
      <dc:date>2020-04-28T21:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262127#M51305</link>
      <description>&lt;P&gt;Why isn't this what you need, in getting the max values for each axis?&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(
	Variables( X( :weight ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);

show(report(gb)[AxisBox(1)] &amp;lt;&amp;lt; get max,
	report(gb)[AxisBox(2)] &amp;lt;&amp;lt; get max
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2020 22:12:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262127#M51305</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-04-28T22:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262141#M51308</link>
      <description>I am not sure-I can give it a try - but i wanted to know if my existing script derived from y function can be modified to set max for x-axis. heres the equation i am using Y Function (Min(C - M*X), 530 ), x );&lt;BR /&gt;&lt;BR /&gt;-thanks much. appreciate your help and be safe.</description>
      <pubDate>Tue, 28 Apr 2020 23:13:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262141#M51308</guid>
      <dc:creator>swpatel</dc:creator>
      <dc:date>2020-04-28T23:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder - how to add max for x-axis and y-axis using script y-function</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262170#M51314</link>
      <description>&lt;P&gt;I think all you are asking for is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
x = report(gb)[AxisBox(1)] &amp;lt;&amp;lt; get max;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2020 00:46:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-how-to-add-max-for-x-axis-and-y-axis-using-script/m-p/262170#M51314</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-04-29T00:46:54Z</dc:date>
    </item>
  </channel>
</rss>

