<?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: Select issue in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82803#M37304</link>
    <description>&lt;P&gt;huzzah! it works, it does have an error if I select a channel outside of the range I'm looking for, but that's perfectly fine because I won't be doing that far as I know.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Nov 2018 20:47:52 GMT</pubDate>
    <dc:creator>DamionSparhawk</dc:creator>
    <dc:date>2018-11-07T20:47:52Z</dc:date>
    <item>
      <title>Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81456#M36951</link>
      <description>&lt;P&gt;I create a graph, and when I go to select a portion of it, it highlights the entire excel sheet. I remember from demo that you should be able to select a segment and have it only highlight the data directly relating to that segment. What am I doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also like to know if there is any way to have JMP find the peak data from multiple points on the same line and display them in the graph?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 03:37:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81456#M36951</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-10-26T03:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81460#M36954</link>
      <description>&lt;P&gt;Below is a chart that has had some points selected, and as can be seen on both the chart and the data table, which points have been selected.&amp;nbsp; However, you will need to provide more information about exactly what chart you were using, and what the data table contains for one to attempt to determine what the issues may be.&amp;nbsp; I suggest as your first step, that you read the Essential Graphing book provided with the install of JMP&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Books==&amp;gt;Essential Graphing&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chart.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14002i36CB0C7E61A68255/image-size/large?v=v2&amp;amp;px=999" role="button" title="chart.PNG" alt="chart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Concerning your second question, yes you could determine selected points from a line, and have their values be displayed on the chart.&amp;nbsp; This can be done by specifying what columns should be used for the label, and then selecting the data points to be displayed.&amp;nbsp; Again, this is covered in the Essential Graphing book&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 06:12:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81460#M36954</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-26T06:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81462#M36955</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP.PNG" style="width: 933px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14003i66A55E0211CEC15F/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP.PNG" alt="JMP.PNG" /&gt;&lt;/span&gt;&amp;nbsp;It's a fairly simple graph with only two lines of data, it should be really simple but for some reason as you can see selecting just the peak highlights the entire spreadsheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second part I'm looking more for a way to script it into the script I currently have, if I have to hunt down the data points and select them the point is already defeated, variables I know is the column it occurs in, that there will always be a 0 before each peak of reference, and that I only care about the highest point of the peak for each occurance on the line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll take a look at the book of course, but time waits for no man and the purpose of this project is to streamline the tasks we already do, don't need JMP to hunt for values we already have in Excel, ya know ^.^&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 07:03:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81462#M36955</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-10-26T07:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81478#M36961</link>
      <description>&lt;P&gt;That's interesting - the same thing happens for me.&amp;nbsp; I also notice that the lasso tool turns into a rectangle rather than a free-drawing polygon.&amp;nbsp; But it only happens if the line option in Graph Builder is chosen rather than the points.&amp;nbsp; I am guessing that with the line drawn for the mean of that variable, all points are highlighted because all the points are used to calculate the mean - but that is a guess and I'll be interested to see if someone can unravel the mystery.&amp;nbsp; As for your other question, can you use some combination of ColMax and/or ColRank functions to get the points you are looking for?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 11:53:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81478#M36961</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2018-10-26T11:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81521#M36965</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Selecting a line will select all points that make up that line. You would have to have points on the line in order to only select that region of the line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope That helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 16:01:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81521#M36965</guid>
      <dc:creator>Chris_Kirchberg</dc:creator>
      <dc:date>2018-10-26T16:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81704#M36977</link>
      <description>&lt;P&gt;Well that answers the question, but presents a new problem. On the other hand now I know a really quick way to&amp;nbsp;find &amp;nbsp;the peak value without a lot of effort, however I would really like to be able to just select the segment of the line. The line graph is the best way to represent the data in this case because it's fluid flow, we collect data points along a timeframe, but the fluid is still flowing between those points, and also because it mirrors the way it's displayed in other formats so it's easy to see if you're looking at the right data, or if the data is significantly out of desired parameters. I wonder if there's a way to display it as a line, but treat it as points... *ponder* Well, anyway thanks for the information!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 04:01:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/81704#M36977</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-10-27T04:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82202#M37075</link>
      <description>&lt;P&gt;Addendum:&lt;/P&gt;&lt;P&gt;Okay, so I've modified my graph so it is also using points. However the points are enormous and clunk up my picture. Is there a way to graph the points smaller or even graph them but remove the visible points? I don't need the points, I just need the ability to select the specific segment of a line which doesn't let you do that. Thank you for your additional help!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pointless.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14168iB7E92D40AFF1807C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pointless.PNG" alt="Pointless.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 21:21:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82202#M37075</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-10-31T21:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82203#M37076</link>
      <description>If you right click on the points in the graph's legend, you can change the size of the points, and the color of the points.</description>
      <pubDate>Wed, 31 Oct 2018 21:47:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82203#M37076</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-31T21:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82210#M37079</link>
      <description>&lt;P&gt;Beautiful, now we're getting somewhere, I'm having trouble inserting the dialogue that comes up for that into my script. When I make that adjustment the script looks like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scriptimage.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14169i9FB62F500DABD334/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scriptimage.PNG" alt="scriptimage.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I'm having trouble figuring out where and how to insert the modifiers into my base script.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graphbuilder.PNG" style="width: 836px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14170iEA8D9E8E82AE2636/image-size/large?v=v2&amp;amp;px=999" role="button" title="graphbuilder.PNG" alt="graphbuilder.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd love to better understand this, but understanding is less important than effect, for the moment ^.^ (saved as images instead of text because text was working strangely, text code to follow)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;dt = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Open&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list = dt &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get column names&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(string);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;remove from&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(col_list, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;); &lt;/FONT&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;// Remove time[sec] from list&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cols_to_plot = {};&lt;/P&gt;&lt;P&gt;offset_list = {};&lt;/P&gt;&lt;P&gt;offset_cols = {};&lt;/P&gt;&lt;P&gt;// Define the graph builder commands in an expression for use by the OK button&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;graph_expr = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;expr&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;for&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (i = &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, i &amp;lt;= &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;nitems&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot), i++,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;new_name = cols_to_plot[i] || &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"-Offset"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_cols, new_name);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;dt &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;new column&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(new_name, Numeric, &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Continuous"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Format&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Best"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;12&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Formula( &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;as column&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(dt, cols_to_plot[i]) * offset_list[i] ) );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;// Now for the graph - build a text string and then execute it&lt;/P&gt;&lt;P&gt;gb_text =&lt;/P&gt;&lt;P&gt;"\[gb = graph builder(&lt;/P&gt;&lt;P&gt;show control panel(0),&lt;/P&gt;&lt;P&gt;variables(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;X( :Name( "Time[sec]" ) ),]\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;elements_txt = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;" ),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;Elements( Line( X, "&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;for&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (i = &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, i &amp;lt;= &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;nitems&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot), i++,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (i == &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;// then&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;gb_text = gb_text || &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;evalinsert&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\!N\[ Y( :Name( "^offset_cols[i]^" ) ), ]\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;// else&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;gb_text = gb_text || &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;evalinsert&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\!N\[ Y( :Name( "^offset_cols[i]^" ), Position( 1 ) ),]\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;elements_txt = elements_txt || &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;evalinsert&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Y ( ^i^ ), "&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;elements_txt = elements_txt || &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Legend( 7 ) ), Points( X, Y, Legend(8)) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;,"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;gb_text = gb_text || elements_txt || &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;") )"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;eval&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;parse&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(gb_text));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;nw = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;new window&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Graph Chemicals"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;panel box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Select channels to graph"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;lineup box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;ncol&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;2&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;text box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Column"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;text box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Offset"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb1 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch1"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch1_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb2 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch2"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch2_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb3 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch3"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch3_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb4 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch4"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch4_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb5 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch5"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch5_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb6 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch6"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch6_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb7 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch7"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch7_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb8 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch8"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch8_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;cb9 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;checkbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch9"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), ch9_neb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;number edit box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;panelbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Actions"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;hlistbox&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;okb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;button box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"OK"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb1 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;8&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch1_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb2 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;9&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch2_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb3 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;10&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch3_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb4 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;11&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch4_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb5 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;12&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch5_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb6 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;13&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch6_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb7 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;14&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch7_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (cb8 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(cols_to_plot, col_list[&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;15&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;offset_value = ch8_neb &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;insertinto&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(offset_list, offset_value);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;graph_expr;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;nw &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;close window&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;canb = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;button box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Cancel"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, nw &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;close window&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;// Pre-check checkboxes if column exists&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;for&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (i = &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, i &amp;lt;= &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;nitems&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(col_list), i++,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch1"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb1 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch2"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb2 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch3"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb3 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch4"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb4 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch5"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb5 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch6"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb6 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch7"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb7 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch8"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb8 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;col_list[i] == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Ch9"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, cb9 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;Full script for size adjust&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" face="Consolas" size="2"&gt;Graph Builder&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Show Control Panel( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;0&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Variables( X( :&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Name&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Time[sec]"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ) ), Y( :&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Name&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"CH2-Offset"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ) ) ),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Elements( &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Line&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( X, Y, Legend( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;7&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ) ), Points( X, Y, Legend( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;8&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ) ) ),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SendToReport(&lt;/P&gt;&lt;P&gt;Dispatch(&lt;/P&gt;&lt;P&gt;{},&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"400"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ScaleBox,&lt;/P&gt;&lt;P&gt;{Legend Model(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;8&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Properties( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;0&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, {&lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Marker Size&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;0&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; )}, Item ID( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"CH2-Offset"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ) )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;)}&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 22:32:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82210#M37079</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-10-31T22:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82341#M37119</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graphbuilder.PNG" style="width: 833px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14195i14B75ADEC8F7828A/image-size/large?v=v2&amp;amp;px=999" role="button" title="graphbuilder.PNG" alt="graphbuilder.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I -think- it should go at the end here, but I keep getting&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="unresolved.PNG" style="width: 383px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14196iADACE7753E29A492/image-size/large?v=v2&amp;amp;px=999" role="button" title="unresolved.PNG" alt="unresolved.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure what else to try, I've attempted several different logical names but no change.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 23:13:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82341#M37119</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-01T23:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82342#M37120</link>
      <description>&lt;P&gt;Your lack of response to your latest question is in part due to the way you are displaying the code.&amp;nbsp; Passing the code in the form of a picture requires the community to have to type in all of your code manually if they are going to try to debug your code.&amp;nbsp; Could you please enter the code by using either the "Insert Code" or better yet, the "Insert JSL Script" icon.&amp;nbsp; If your browser does not support either of them, then pasting the code into the response will work.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 23:40:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82342#M37120</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-01T23:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82450#M37154</link>
      <description>&lt;P&gt;All of the text is in the previous post under the spoiler window, it just doesn't look right so I used pictures, I didn't know what the JSL button was for so I just copy/pasted.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open ();

col_list = dt &amp;lt;&amp;lt; get column names(string);

remove from(col_list, 1);	// Remove time[sec] from list
cols_to_plot = {};
offset_list  = {};
offset_cols  = {};
// Define the graph builder commands in an expression for use by the OK button
graph_expr = expr(
	for (i = 1, i &amp;lt;= nitems(cols_to_plot), i++,
		new_name = cols_to_plot[i] || "-Chemical Cal";
		insertinto(offset_cols, new_name);
		dt &amp;lt;&amp;lt; new column(new_name, Numeric, "Continuous", Format( "Best", 12 ),
			Formula( as column(dt, cols_to_plot[i]) * offset_list[i] ) );
			
	);
// Now for the graph - build a text string and then execute it
	gb_text = 
"\[gb = graph builder(
	show control panel(0),
	variables(
		X( :Name( "Time[sec]" ) ),]\";
	elements_txt = "	),
	Elements( Line( X, ";
	
	for (i = 1, i &amp;lt;= nitems(cols_to_plot), i++,
		if (i == 1,
		// then
			gb_text = gb_text || evalinsert("\!N\[		Y( :Name( "^offset_cols[i]^" ) ), ]\");
			,
		// else
			gb_text = gb_text || evalinsert("\!N\[		Y( :Name( "^offset_cols[i]^" ), Position( 1 ) ),]\");
		);

		elements_txt = elements_txt || evalinsert("Y ( ^i^ ), ");
	);

	elements_txt = elements_txt || "Legend( 7 ) ), Points( X, Y, Legend(8))
	
		
	,";

	gb_text = gb_text || elements_txt || ") )";
	eval(parse(gb_text));
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				8,
				Properties(
					0,
					{Marker Size( 0 ), Transparency( 0 )},
					Item ID( "^offset_cols[i]^", 1 )
				)
			)}
		)
	)
);
	

nw = new window("Graph Chemicals",
	panel box("Select channels to graph",
		lineup box(ncol(2), 
			text box("Column"), text box("Chemical Cal"),
			cb1 = checkbox("Ch1"), ch1_neb = number edit box(),
			cb2 = checkbox("Ch2"), ch2_neb = number edit box(),
			cb3 = checkbox("Ch3"), ch3_neb = number edit box(),
			cb4 = checkbox("Ch4"), ch4_neb = number edit box(),
			cb5 = checkbox("Ch5"), ch5_neb = number edit box(),
			cb6 = checkbox("Ch6"), ch6_neb = number edit box(),
			cb7 = checkbox("Ch7"), ch7_neb = number edit box(),
			cb8 = checkbox("Ch8"), ch8_neb = number edit box(),
			cb9 = checkbox("Ch9"), ch9_neb = number edit box(),
		),
	),
	panelbox("Actions",
		hlistbox(
			okb  = button box("OK",
				if (cb1 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[8]);
					offset_value = ch1_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb2 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[9]);
					offset_value = ch2_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb3 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[10]);
					offset_value = ch3_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb4 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[11]);
					offset_value = ch4_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb5 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[12]);
					offset_value = ch5_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb6 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[13]);
					offset_value = ch6_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb7 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[14]);
					offset_value = ch7_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb8 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[15]);
					offset_value = ch8_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				graph_expr;
				nw &amp;lt;&amp;lt; close window;
			),
			canb = button box("Cancel", nw &amp;lt;&amp;lt; close window;
			),
		)
	),
);

// Pre-check checkboxes if column exists
for (i = 1, i &amp;lt;= nitems(col_list), i++,
	if (col_list[i] == "Ch1", cb1 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch2", cb2 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch3", cb3 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch4", cb4 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch5", cb5 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch6", cb6 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch7", cb7 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch8", cb8 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch9", cb9 &amp;lt;&amp;lt; set(1, 1),
	);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :Name( "Time[sec]" ) ), Y( :Name( "CH2-Offset" ) ) ),
	Elements( Line( X, Y, Legend( 7 ) ), Points( X, Y, Legend( 8 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				8,
				Properties( 0, {Marker Size( 0 )}, Item ID( "CH2-Offset", 1 ) )
			)}
		)
	)
);

Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :Name( "Time[sec]" ) ), Y( :Name( "CH2-Offset" ) ) ),
	Elements( Line( X, Y, Legend( 7 ) ), Points( X, Y, Legend( 8 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				8,
				Properties(
					0,
					{Marker Size( 0 ), Transparency( 0 )},
					Item ID( "^offset_cols[i]^", 1 )
				)
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Nov 2018 20:35:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82450#M37154</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-02T20:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82459#M37161</link>
      <description>&lt;P&gt;I reworked your code a bit.&lt;/P&gt;
&lt;P&gt;1. I added in the code to change the marker size and transparency&lt;/P&gt;
&lt;P&gt;2. You may not have noticed the following issue, however, in the new columns you were creating, the formulas had the values of dt and i in them.&amp;nbsp; Those are memory variables that can possibly change.&amp;nbsp; (i.e. you save the table, start up a JMP session in the future, open the data table, and the columns would cause an error, because the variables dt and i are no longer available).&amp;nbsp; So I changed the code to make the formulas to have hardwired values.&lt;/P&gt;
&lt;P&gt;Here is the code.&amp;nbsp; I made a mockup data table to test the code out, so there still maybe as issue or two.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open();

col_list = dt &amp;lt;&amp;lt; get column names( string );

Remove From( col_list, 1 );	// Remove time[sec] from list
cols_to_plot = {};
offset_list = {};
offset_cols = {};

// Define the graph builder commands in an expression for use by the OK button
graph_expr = Expr(
	For( i = 1, i &amp;lt;= N Items( cols_to_plot ), i++,
		new_name = cols_to_plot[i] || "-Chemical Cal";
		
		// If used before, delete the column and then recreate it
		If( Try( Column( dt, new_name ) &amp;lt;&amp;lt; get name, "" ) != "",
			dt &amp;lt;&amp;lt; delete columns( new_name )
		);
		Insert Into( offset_cols, new_name );
		// The variable i and the column name need to be changed to their 
		// static value for the column formulas to be correct
		Eval(
			Substitute(
					Expr(
						dt &amp;lt;&amp;lt; New Column( new_name,
							Numeric,
							"Continuous",
							Format( "Best", 12 ),
							Formula( __cols_to_plot__ * __offset_list__ )
						)
					),
				Expr( __cols_to_plot__ ), Parse( ":" || cols_to_plot[i] ),
				Expr( __offset_list__ ), offset_list[i]
			)
		);
			
	);
// Now for the graph - build a text string and then execute it
	gb_text = "\[gb = graph builder(
	show control panel(0),
	variables(
		X( :Name( "Time[sec]" ) ),]\";
	elements_txt = "	),
	Elements( Line( X, ";
	
	For( i = 1, i &amp;lt;= N Items( cols_to_plot ), i++,
		If( i == 1, 
		// then
			gb_text = gb_text || Eval Insert( "\!N\[		Y( :Name( "^offset_cols[i]^" ) ), ]\" )
		, 
		// else
			gb_text = gb_text || Eval Insert( "\!N\[		Y( :Name( "^offset_cols[i]^" ), Position( 1 ) ),]\" )
		);

		elements_txt = elements_txt || Eval Insert( "Y ( ^i^ ), " );
	);

// add in the marker and transparency code
	elements_txt = elements_txt ||
	"Legend( 7 ) ), Points( X, Y, Legend(8))),
SendToReport(
		Dispatch(
			{},
			\!"400\!",
			ScaleBox,
			{Legend Model(
				8,
				Properties( 0, {Marker Size( 0 ), Transparency( 0 )}, Item ID( \!""
	 || offset_cols[1] || "\!", 1 ) )
			)}
		)
	)";
	gb_text = gb_text || elements_txt || "); ";
	Eval( Parse( gb_text ) );
	
);
	

nw = New Window( "Graph Chemicals",
	Panel Box( "Select channels to graph",
		Lineup Box( N Col( 2 ),
			Text Box( "Column" ),
			Text Box( "Chemical Cal" ),
			cb1 = Check Box( "Ch1" ),
			ch1_neb = Number Edit Box(),
			cb2 = Check Box( "Ch2" ),
			ch2_neb = Number Edit Box(),
			cb3 = Check Box( "Ch3" ),
			ch3_neb = Number Edit Box(),
			cb4 = Check Box( "Ch4" ),
			ch4_neb = Number Edit Box(),
			cb5 = Check Box( "Ch5" ),
			ch5_neb = Number Edit Box(),
			cb6 = Check Box( "Ch6" ),
			ch6_neb = Number Edit Box(),
			cb7 = Check Box( "Ch7" ),
			ch7_neb = Number Edit Box(),
			cb8 = Check Box( "Ch8" ),
			ch8_neb = Number Edit Box(),
			cb9 = Check Box( "Ch9" ),
			ch9_neb = Number Edit Box(), 

		), 

	),
	Panel Box( "Actions",
		H List Box(
			okb = Button Box( "OK",
				If( cb1 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[8] );
					offset_value = ch1_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb2 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[9] );
					offset_value = ch2_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb3 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[10] );
					offset_value = ch3_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb4 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[11] );
					offset_value = ch4_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb5 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[12] );
					offset_value = ch5_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb6 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[13] );
					offset_value = ch6_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb7 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[14] );
					offset_value = ch7_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				If( cb8 &amp;lt;&amp;lt; get( 1 ),
					Insert Into( cols_to_plot, col_list[15] );
					offset_value = ch8_neb &amp;lt;&amp;lt; get;
					Insert Into( offset_list, offset_value );
				);
				graph_expr;
				nw &amp;lt;&amp;lt; close window;
			),
			canb = Button Box( "Cancel", nw &amp;lt;&amp;lt; close window ), 

		)
	), 

);

// Pre-check checkboxes if column exists
For( i = 1, i &amp;lt;= N Items( col_list ), i++,
	If(
		col_list[i] == "Ch1", cb1 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch2", cb2 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch3", cb3 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch4", cb4 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch5", cb5 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch6", cb6 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch7", cb7 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch8", cb8 &amp;lt;&amp;lt; set( 1, 1 ),
		col_list[i] == "Ch9", cb9 &amp;lt;&amp;lt; set( 1, 1 ), 

	)
);
Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :Name( "Time[sec]" ) ), Y( :Name( "CH2-Offset" ) ) ),
	Elements( Line( X, Y, Legend( 7 ) ), Points( X, Y, Legend( 8 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model( 8, Properties( 0, {Marker Size( 0 )}, Item ID( "CH2-Offset", 1 ) ) )}
		)
	)
);

Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :Name( "Time[sec]" ) ), Y( :Name( "CH2-Offset" ) ) ),
	Elements( Line( X, Y, Legend( 7 ) ), Points( X, Y, Legend( 8 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				8,
				Properties( 0, {Marker Size( 0 ), Transparency( 0 )}, Item ID( "^offset_cols[i]^", 1 ) )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Nov 2018 13:54:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82459#M37161</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-03T13:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82803#M37304</link>
      <description>&lt;P&gt;huzzah! it works, it does have an error if I select a channel outside of the range I'm looking for, but that's perfectly fine because I won't be doing that far as I know.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 20:47:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82803#M37304</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-07T20:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82807#M37308</link>
      <description>&lt;P&gt;whoops, found a hiccup, since you changed it from a variable to a static, it only works on the first plot, and I may need to plot multiple graphs simultaneously (which is why the variable) I tried duplicating for each possible column, this works, but only if I am using the number of plots I include, and I may use less or more depending on circumstance. I cannot seem to get the variable to work for this adjustment, perhaps there is an if then argument we could provide for the additional lines so that if I'm not plotting them they won't argue with the script?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 21:09:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82807#M37308</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-07T21:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82901#M37353</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open ();

col_list = dt &amp;lt;&amp;lt; get column names(string);

remove from(col_list, 1);	// Remove time[sec] from list
cols_to_plot = {};
offset_list  = {};
offset_cols  = {};
// Define the graph builder commands in an expression for use by the OK button
graph_expr = expr(
	for (i = 1, i &amp;lt;= nitems(cols_to_plot), i++,
		new_name = cols_to_plot[i] || "-Chemical Cal";
		insertinto(offset_cols, new_name);
		dt &amp;lt;&amp;lt; new column(new_name, Numeric, "Continuous", Format( "Best", 12 ),
			Formula( as column(dt, cols_to_plot[i]) * offset_list[i] ) );
	);
// Now for the graph - build a text string and then execute it
	gb_text = "\[gb = graph builder(
	show control panel(0),
	variables(
		X( :Name( "Time[sec]" ) ),]\";
	elements_txt = "	),
	Elements( Line( X, ";
	
	For( i = 1, i &amp;lt;= N Items( cols_to_plot ), i++,
		If( i == 1, 
		// then
			gb_text = gb_text || Eval Insert( "\!N\[		Y( :Name( "^offset_cols[i]^" ) ), ]\" )
		, 
		// else
			gb_text = gb_text || Eval Insert( "\!N\[		Y( :Name( "^offset_cols[i]^" ), Position( 1 ) ),]\" )
		);

		elements_txt = elements_txt || Eval Insert( "Y ( ^i^ ), " );
	);

// add in the marker and transparency code
	elements_txt = elements_txt ||
	"Legend( 7 ) ), Points( X, Y, Legend(8))),
SendToReport(
		Dispatch(
			{},
			\!"400\!",
			ScaleBox,
			{Legend Model(
				8,
				Properties( 0, {Marker Size( 0 ), Transparency( 0 )}, Item ID( \!""
	 || offset_cols[1] || "\!", 1 ), Item ID( \!""
	 || offset_cols[2] || "\!", 1 ), Item ID( \!""
	 || offset_cols[3] || "\!", 1 ) )
			)}
		)
	)";
	gb_text = gb_text || elements_txt || "); ";
	Eval( Parse( gb_text ) );
	
);


nw = new window("Graph Chemicals",
	panel box("Select channels to graph",
		lineup box(ncol(2), 
			text box("Column"), text box("Chemical Cal"),
			cb1 = checkbox("Ch1"), ch1_neb = number edit box(),
			cb2 = checkbox("Ch2"), ch2_neb = number edit box(),
			cb3 = checkbox("Ch3"), ch3_neb = number edit box(),
			cb4 = checkbox("Ch4"), ch4_neb = number edit box(),
			cb5 = checkbox("Ch5"), ch5_neb = number edit box(),
			cb6 = checkbox("Ch6"), ch6_neb = number edit box(),
			cb7 = checkbox("Ch7"), ch7_neb = number edit box(),
			cb8 = checkbox("Ch8"), ch8_neb = number edit box(),
			cb9 = checkbox("Ch9"), ch9_neb = number edit box(),
		),
	),
	panelbox("Actions",
		hlistbox(
			okb  = button box("OK",
				if (cb1 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[5]);
					offset_value = ch1_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb2 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[6]);
					offset_value = ch2_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb3 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[7]);
					offset_value = ch3_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb4 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[8]);
					offset_value = ch4_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb5 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[9]);
					offset_value = ch5_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb6 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[10]);
					offset_value = ch6_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb7 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[11]);
					offset_value = ch7_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb8 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[12]);
					offset_value = ch8_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				if (cb9 &amp;lt;&amp;lt; get(1), 
					insertinto(cols_to_plot, col_list[13]);
					offset_value = ch9_neb &amp;lt;&amp;lt; get;
					insertinto(offset_list, offset_value);
				);
				graph_expr;
				nw &amp;lt;&amp;lt; close window;
			),
			canb = button box("Cancel", nw &amp;lt;&amp;lt; close window;
			),
		)
	),
);

// Pre-check checkboxes if column exists
for (i = 1, i &amp;lt;= nitems(col_list), i++,
	if (col_list[i] == "Ch1", cb1 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch2", cb2 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch3", cb3 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch4", cb4 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch5", cb5 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch6", cb6 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch7", cb7 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch8", cb8 &amp;lt;&amp;lt; set(1, 1),
		col_list[i] == "Ch9", cb9 &amp;lt;&amp;lt; set(1, 1),
	);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So this one enables me to run 3 different channels, unfortunately, I can't run -fewer- than 3 channels. I can run more than that, but any additional channels will not have the dot path included so I cannot select seperate points on the line like it is intended. If I use less than 3 channels I end up with this alert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPalert.PNG" style="width: 374px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14289i515822421D110CD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPalert.PNG" alt="JMPalert.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 21:32:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82901#M37353</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-08T21:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82903#M37354</link>
      <description>basically your JSL is just creating some new JSL.  And when it comes to the SendToReport section, you have hardwired the code to require 3 offset_cols.  This you already know, but the point I am making, is, that you are generating JSL code which you ultimately run.  So what you need to do, is to break the code down, so that you check to see how many elements are in the offset_cols list, and then based upon that, only generate the JSL code for those number of elements.</description>
      <pubDate>Thu, 08 Nov 2018 22:09:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82903#M37354</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-08T22:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82915#M37357</link>
      <description>&lt;P&gt;Sounds awesome, so hereby lies the rub, I dunno how to do that XD. Script is far more advanced than I am, just trying to work it into a shape to do what I need it to do, it works as is (I mean I can make it work, not it does what I need it to do) but I'd like some fit and polish, as it were. I'm digging into the literature as best I can and trying to puzzle it out but I really just don't know the lingo yet. So currently the number of channels is selected by the popup box (in the subscript) knowing that, is there a way to tell the legend how many lines I've selected in order to modify only that number of lines? Presumably this is what the variable function in the rest of the script is doing because it has no trouble with multiple lines/channels etc... Only reason I'm trying to add this part in is because with the line graph you can't select a segment to trace the correlating data. I need to be able to find the peak of a line. I would also like to have JMP put that data into the graph as well, but I assume that's going to be even more difficult than this is, since I'm asking the script to select not only different specific points in the data, but there may be more than one in a line and I need a specific one, not just the first one or the highest one. As it is I can simply use the single line for the more important data and do them one at a time, which is great progress,I could even go so far as to save multiple scripts and simply have one for each number of lines I need to plot, but I'm sure there's a better way, I just don't know how to make it happen... yet ^.^&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 22:30:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82915#M37357</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-08T22:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82918#M37360</link>
      <description>I am sorry, but I do not have the time to put the time into debugging and then implementing new code into a piece of code that is getting as large as your script has gotten.  I wish you luck in finding someone in the community to help you.</description>
      <pubDate>Thu, 08 Nov 2018 22:55:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/82918#M37360</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-08T22:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select issue</title>
      <link>https://community.jmp.com/t5/Discussions/Select-issue/m-p/83007#M37381</link>
      <description>&lt;P&gt;Fair enough, I'm not really looking for someone to put a lot of work in it, if it comes to that I'd have to call it a commision, just hoping someone might have some suggestions on what I can try or maybe point me in the right direction, I'm in the deep end with a couple of floaties and they're losing air XD&lt;/P&gt;</description>
      <pubDate>Sat, 10 Nov 2018 02:08:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-issue/m-p/83007#M37381</guid>
      <dc:creator>DamionSparhawk</dc:creator>
      <dc:date>2018-11-10T02:08:26Z</dc:date>
    </item>
  </channel>
</rss>

