<?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 Excluded Cols still plotting when I run a script, but not when I plot it manually? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397319#M64802</link>
    <description>&lt;P&gt;So not sure what to is going on here. I'm trying to plot this Group of cols, with several excluded. If I manually launch the FitYbyX, those excluded columns don't even show up in the pop-up and thus don't get plotted. However, when I run this script telling it to plot that Column Group, it still plots the excluded Columns. What's up with this?&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="aliegner1_0-1625094029694.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33907i57817EA8FFE12C84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aliegner1_0-1625094029694.png" alt="aliegner1_0-1625094029694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt= current data table();

ow2 = Oneway(
	Y( dt&amp;lt;&amp;lt;get column group( "TestGroup" ) ),
	X( :chamber_id )
	);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 19:51:19 GMT</pubDate>
    <dc:creator>aliegner1</dc:creator>
    <dc:date>2023-06-09T19:51:19Z</dc:date>
    <item>
      <title>Excluded Cols still plotting when I run a script, but not when I plot it manually?</title>
      <link>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397319#M64802</link>
      <description>&lt;P&gt;So not sure what to is going on here. I'm trying to plot this Group of cols, with several excluded. If I manually launch the FitYbyX, those excluded columns don't even show up in the pop-up and thus don't get plotted. However, when I run this script telling it to plot that Column Group, it still plots the excluded Columns. What's up with this?&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="aliegner1_0-1625094029694.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33907i57817EA8FFE12C84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aliegner1_0-1625094029694.png" alt="aliegner1_0-1625094029694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt= current data table();

ow2 = Oneway(
	Y( dt&amp;lt;&amp;lt;get column group( "TestGroup" ) ),
	X( :chamber_id )
	);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:51:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397319#M64802</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2023-06-09T19:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Excluded Cols still plotting when I run a script, but not when I plot it manually?</title>
      <link>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397334#M64804</link>
      <description>&lt;P&gt;I have replicated your finding.&amp;nbsp; I suggest you pass this issue to the JMP Support team.&amp;nbsp; You also may want to add the need to honor excluded columns to the JMP Wish List.&lt;/P&gt;
&lt;P&gt;All that said, here is a work around&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt= current data table();

colList = dt&amp;lt;&amp;lt;get column group( "TestGroup" );

// Remove from the group list excluded columns
for(i=nitems(colList),i&amp;gt;=1,i--,
	if(column(dt,colList[i])&amp;lt;&amp;lt;get excluded == 1,
		remove from(colList,i,1)
	)
);

ow2 = Oneway(
	Y( eval(colList) ),
	X( :site )
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Jul 2021 02:45:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397334#M64804</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-01T02:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excluded Cols still plotting when I run a script, but not when I plot it manually?</title>
      <link>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397683#M64838</link>
      <description>&lt;P&gt;The excluded attribute of a data column is intended to remove it from the column lists in launch dialogs so it cannot be selected. It is not intended to exclude it as a variable from&amp;nbsp; analysis, so when you put a column group in an analysis role, you are selecting all the columns in that group. Selecting the group over-rides the exclusion from selection.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 17:39:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Excluded-Cols-still-plotting-when-I-run-a-script-but-not-when-I/m-p/397683#M64838</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-07-01T17:39:23Z</dc:date>
    </item>
  </channel>
</rss>

