<?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 Scatterplot Matrix - Changing the Y Variables in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228512#M45332</link>
    <description>&lt;P&gt;Hi - I've created a Scatterplot Matrix in JSL by supplying it with a list of variables to plot as shown below.&amp;nbsp; "Yvars_List" is just a list of the names of the variables that I want to plot against one another, so a typical list might be something like {"Height", "Weight", "Shoesize"}.&amp;nbsp; I have a list of maybe fifty other variables that I could plot instead, so I want to be able to substitute any other list I might assemble within a control panel I've written for the purpose; that is, I want to replace the existing list with a new one, so that the scatterplot matrix immediately updates.&amp;nbsp; (There's no guarantee that the new list will have the same number of elements as the old one, although there will always be at least two variables in the list for obvious reasons.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Graph Builder I would have used a combination of &amp;lt;&amp;lt; Remove Variable(...), &amp;lt;&amp;lt; Add Variable(...), &amp;lt;&amp;lt; Remove Element(...) and/or &amp;lt;&amp;lt; Add Element(...) to achieve that, but this is not the Graph Builder.&amp;nbsp; How can I do this, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;SM = Scatterplot Matrix(
	Y( eval( Yvars_List ) ),
	Matrix Format( "Lower Triangular" ),
	SendToReport(
	Dispatch( {}, "Scatterplot Matrix Plot", FrameBox, {Frame Size( 164, 141 )} )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Many thanks for any help provided.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2019 19:17:30 GMT</pubDate>
    <dc:creator>DMR</dc:creator>
    <dc:date>2019-10-08T19:17:30Z</dc:date>
    <item>
      <title>Scatterplot Matrix - Changing the Y Variables in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228512#M45332</link>
      <description>&lt;P&gt;Hi - I've created a Scatterplot Matrix in JSL by supplying it with a list of variables to plot as shown below.&amp;nbsp; "Yvars_List" is just a list of the names of the variables that I want to plot against one another, so a typical list might be something like {"Height", "Weight", "Shoesize"}.&amp;nbsp; I have a list of maybe fifty other variables that I could plot instead, so I want to be able to substitute any other list I might assemble within a control panel I've written for the purpose; that is, I want to replace the existing list with a new one, so that the scatterplot matrix immediately updates.&amp;nbsp; (There's no guarantee that the new list will have the same number of elements as the old one, although there will always be at least two variables in the list for obvious reasons.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Graph Builder I would have used a combination of &amp;lt;&amp;lt; Remove Variable(...), &amp;lt;&amp;lt; Add Variable(...), &amp;lt;&amp;lt; Remove Element(...) and/or &amp;lt;&amp;lt; Add Element(...) to achieve that, but this is not the Graph Builder.&amp;nbsp; How can I do this, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;SM = Scatterplot Matrix(
	Y( eval( Yvars_List ) ),
	Matrix Format( "Lower Triangular" ),
	SendToReport(
	Dispatch( {}, "Scatterplot Matrix Plot", FrameBox, {Frame Size( 164, 141 )} )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Many thanks for any help provided.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 19:17:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228512#M45332</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2019-10-08T19:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scatterplot Matrix - Changing the Y Variables in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228572#M45341</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2518"&gt;@DMR&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attached script SPLOM_ColSelector.jsl. A screenshot of the interface is below. This uses an Update button to redraw. This script can be easily modified to update any time the column selection changes. However, with 50 columns, I would want the update to occur after my selections have been finalized.&amp;nbsp; From the screenshot, when the user presses the Update button the SPLOM is redrawn.&amp;nbsp; Note to remove a&amp;nbsp; column, hold down the CTRL + click a selected column to unselect it, then update (if you are ready).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly, to add a column, hold the CTRL + click an unselected column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19590i93909E0B57D7FBA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 09:46:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228572#M45341</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-10-09T09:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scatterplot Matrix - Changing the Y Variables in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228815#M45389</link>
      <description>Perfect - many thanks! Also for the demo JSL script showing how to modify the filter options using "&amp;lt;&amp;lt; Parent()" and "&amp;lt;&amp;lt; Xpath()", which I didn't know how to do before.</description>
      <pubDate>Thu, 10 Oct 2019 15:29:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scatterplot-Matrix-Changing-the-Y-Variables-in-JSL/m-p/228815#M45389</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2019-10-10T15:29:44Z</dc:date>
    </item>
  </channel>
</rss>

