<?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: Automatically plot associated columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755683#M93778</link>
    <description>&lt;P&gt;it would be helpful to have a sample data table, and a mockup of what you want the graph to look like.&lt;/P&gt;</description>
    <pubDate>Sat, 18 May 2024 01:16:01 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-05-18T01:16:01Z</dc:date>
    <item>
      <title>Automatically plot associated columns</title>
      <link>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755653#M93775</link>
      <description>&lt;P&gt;I have a data table containing voltage values associated with a structure of a particular size.&amp;nbsp; I also have a column describing the current resulting from the applied voltage for the same structure size.&amp;nbsp; When there are a large quantity of such columns, is there a way to have the columns that are related be plotted without any of the other unassociated plots being generated as a result?&amp;nbsp; I can of course plot them all and minimise the ones that don't associate but I wondered if Regex or the likes could simplify the task?&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 21:19:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755653#M93775</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2024-05-17T21:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically plot associated columns</title>
      <link>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755683#M93778</link>
      <description>&lt;P&gt;it would be helpful to have a sample data table, and a mockup of what you want the graph to look like.&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2024 01:16:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755683#M93778</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-05-18T01:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically plot associated columns</title>
      <link>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755781#M93782</link>
      <description>&lt;P&gt;What you describe sound like the &lt;STRONG&gt;Local Data Filter&lt;/STRONG&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[edit]&lt;/P&gt;&lt;P&gt;Oh, sorry, it doesn't&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2024 06:45:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/755781#M93782</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-05-26T06:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically plot associated columns</title>
      <link>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/760888#M93916</link>
      <description>&lt;P&gt;I figured this one out I think.&amp;nbsp; Excuse the clumsy check list boxes, they need a lot of work but otherwise, the formula associates the selected metrics by matching the characters beyond the first 3.&amp;nbsp; I can ensure the voltage threshold plots only against the relevant current for instance while also assessing multiple metrics in a single process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SpannerHead&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
dt &amp;lt;&amp;lt; Clear Column Selection();
colList = dt &amp;lt;&amp;lt; get column names( string );
check_list1 = {"VTX", "VTN", "VTP", "VTF", "IDS", "IBB", "ILK", "CMI"};
check_list2 = {"VTX", "VTN", "VTP", "VTF", "IDS", "IBB", "ILK", "CMI"};
nw = New Window( "X Value",
	&amp;lt;&amp;lt;modal(),
	my_cb = Check Box( check_list1 ),
	Panel Box( "Actions",
		H List Box(
			Button Box( "OK",
				keep_going = 1;
				X = my_cb &amp;lt;&amp;lt; get selected;
			),
			Button Box( "Cancel", keep_going = 0 )
		)
	)
);
nw = New Window( "Y Value",
	&amp;lt;&amp;lt;modal(),
	my_other_cb = Check Box( check_list2 ),
	Panel Box( "Actions",
		H List Box(
			Button Box( "OK",
				keep_going = 1;
				Y = my_other_cb &amp;lt;&amp;lt; get selected;
			),
			Button Box( "Cancel", keep_going = 0 )
		)
	)
);
Show( X );
Show( Y );
If(
	X[1] == "VTX", Xparam = "VTX",
	X[1] == "VTN", Xparam = "VTN",
	X[1] == "VTP", Xparam = "VTP",
	X[1] == "IDS", Xparam = "IDS",
	X[1] == "IBB", Xparam = "IBB",
	X[1] == "VTF", Xparam = "VTF",
	X[1] == "ILK", Xparam = "ILK",
	X[1] == "CMI", Xparam = "CMI"
);
If(
	Y[1] == "VTX", Yparam = "VTX",
	Y[1] == "VTN", Yparam = "VTN",
	Y[1] == "VTP", Yparam = "VTP",
	Y[1] == "IDS", Yparam = "IDS",
	Y[1] == "IBB", Yparam = "IBB",
	Y[1] == "VTF", Yparam = "VTF",
	Y[1] == "ILK", Yparam = "ILK",
	Y[1] == "CMI", Yparam = "CMI"
);
Show( Xparam );
Show( Yparam );
For( i = 1, i &amp;lt;= N Cols( dt ), i++,
	If( Contains( Munger( Head Name( As Namespace( colList[i] ) ), 0, 3 ), Xparam ),
		Column( colList[i] ) &amp;lt;&amp;lt; Set Selected( 1 )
	)
);
target = dt &amp;lt;&amp;lt; get selected columns();
found_list = {};
Show( target );
New Window( "Compilation",
	For( j = 1, j &amp;lt;= N Items( target ), j++,
		If(
			Contains(
				Munger( Head Name( As Namespace( target[j] ) ), 0, 3 ),
				Xparam
			) &amp;amp; !Contains( Head Name( As Namespace( target[j] ) ), "Pass/Fail" ),
			Connected = Substitute( Head Name( As Namespace( target[j] ) ),
				Xparam, Yparam
			);
			Insert Into( found_list, Connected );
			Try(
				Bivariate(
					Y( Column( dt, found_list[j] ) ),
					X( Column( dt, target[j] ) ),
					Automatic Recalc( 1 )
				)
			);
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for the suggestions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 22:08:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/760888#M93916</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2024-05-23T22:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically plot associated columns</title>
      <link>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/761364#M93924</link>
      <description>&lt;P&gt;Hello-&lt;/P&gt;
&lt;P&gt;It sounds like you have found a workable solution- that's great.&amp;nbsp; There are usually several ways to approach a problem, and sometimes others can benefit from tips/tricks learned here.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;I will admit that I was unsure of the exact problem from your description, a sample illustration would have been helpful.&lt;BR /&gt;Some thoughts on "a" problem (if it incorrectly matches yours- perhaps others will find some use).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregF_JMP_0-1716560144730.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64505iAAA5583B2742C2E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="GregF_JMP_0-1716560144730.png" alt="GregF_JMP_0-1716560144730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Column Select has filter options under the red Triangle&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregF_JMP_1-1716560236689.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64506i42B6819F89BA5225/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregF_JMP_1-1716560236689.png" alt="GregF_JMP_1-1716560236689.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Depending on the nature of your column names- the search may allow groups of the type you desire.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregF_JMP_2-1716560286392.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64507iA5591E8112CBFC21/image-size/large?v=v2&amp;amp;px=999" role="button" title="GregF_JMP_2-1716560286392.png" alt="GregF_JMP_2-1716560286392.png" /&gt;&lt;/span&gt;&lt;/P&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>Fri, 24 May 2024 14:30:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automatically-plot-associated-columns/m-p/761364#M93924</guid>
      <dc:creator>GregF_JMP</dc:creator>
      <dc:date>2024-05-24T14:30:45Z</dc:date>
    </item>
  </channel>
</rss>

