<?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: JSL to plot graph with last N values of a column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310860#M56400</link>
    <description>&lt;P&gt;Here is a quick example.&amp;nbsp; It was just recently covered in a Discussion&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Hiding-Where-textboxes-in-graphics-using-JSL/m-p/306903" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

last n = 10;
n = N Row( dt );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :weight ),
	X( :height ),
	Where( Row() &amp;gt; (n - last n) )
);
(report(biv)&amp;lt;&amp;lt;topparent)[textbox(1)]&amp;lt;&amp;lt;delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 22 Sep 2020 13:34:28 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-09-22T13:34:28Z</dc:date>
    <item>
      <title>JSL to plot graph with last N values of a column</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310822#M56399</link>
      <description>&lt;P&gt;I am writing script to plot graph with last 10 values of a column. Below is the script I use which I learned from previous post.&lt;/P&gt;&lt;P&gt;It works. But I notice the this wording "&amp;nbsp;Where( Row() &amp;gt; (n - last n) ) " appear in the graph which I do not want it to show.&lt;/P&gt;&lt;P&gt;Is there a way to remove this wording? or Is there other way to write JSL script to&amp;nbsp;plot graph with last N values of a column?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

last n = 10;
n = N Row( dt );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :weight ),
	X( :height ),
	Where( Row() &amp;gt; (n - last n) )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.JPG" style="width: 807px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26904i11E261F6D4CE833A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.JPG" alt="Capture4.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:38:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310822#M56399</guid>
      <dc:creator>bzanos</dc:creator>
      <dc:date>2023-06-09T23:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to plot graph with last N values of a column</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310860#M56400</link>
      <description>&lt;P&gt;Here is a quick example.&amp;nbsp; It was just recently covered in a Discussion&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Hiding-Where-textboxes-in-graphics-using-JSL/m-p/306903" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

last n = 10;
n = N Row( dt );

biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :weight ),
	X( :height ),
	Where( Row() &amp;gt; (n - last n) )
);
(report(biv)&amp;lt;&amp;lt;topparent)[textbox(1)]&amp;lt;&amp;lt;delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Sep 2020 13:34:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310860#M56400</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-22T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to plot graph with last N values of a column</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310882#M56402</link>
      <description>&lt;P&gt;&lt;SPAN&gt;works great. Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 13:44:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-plot-graph-with-last-N-values-of-a-column/m-p/310882#M56402</guid>
      <dc:creator>bzanos</dc:creator>
      <dc:date>2020-09-22T13:44:34Z</dc:date>
    </item>
  </channel>
</rss>

