<?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: Using a script to plot multiple columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16864#M15375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, that did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first column (the x values) is labeled "Vd_V", and then the subsequent columns (the y values) have a name like "x= 1 y= 1 Site 1".&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 18:21:44 GMT</pubDate>
    <dc:creator>natalie_</dc:creator>
    <dc:date>2016-02-11T18:21:44Z</dc:date>
    <item>
      <title>Using a script to plot multiple columns</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16862#M15373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data table with several columns.&amp;nbsp; The first column in my x-axis, and the rest of the columns are my y-values.&amp;nbsp; I have done this before, but all the column names were numbers, or didn't have any spaces.&amp;nbsp; Now they do, and my code is not working.&amp;nbsp; How can I edit this code to get my plot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;y_cols = dtIdleak &amp;lt;&amp;lt; get column names(string,character);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Remove From(y_cols,1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; dtIdleak &amp;lt;&amp;lt; Overlay Plot(X(:Vd_V),Y(:(Eval(y_cols))),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Overlay Axis &amp;lt;&amp;lt; {{Min( 0.01 ), Max( 100 ), Inc( 1 ), Minor Ticks( 1 )}},&lt;/P&gt;&lt;P&gt;&amp;nbsp; Connect Points(1),&lt;/P&gt;&lt;P&gt;&amp;nbsp; SendToReport(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;P&gt;&amp;nbsp; "102",&lt;/P&gt;&lt;P&gt;&amp;nbsp; ScaleBox,&lt;/P&gt;&lt;P&gt;&amp;nbsp; {Scale("Log"),Min( 0.01 ), Max( 1000 ), Inc( 1 ), Minor Ticks( 1 )}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dispatch( {}, "", AxisBox, {Add Axis Label( "Idleak (uA)" )} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dispatch( {}, "Y", TextEditBox, {Set Text( "Idleak (uA)" )} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dispatch( {}, "Overlay Plot Graph", FrameBox, {Frame Size( 740, 585 )} )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 15:24:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16862#M15373</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-02-11T15:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using a script to plot multiple columns</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16863#M15374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Overlay plot require numeric Y's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try &lt;SPAN style="font-size: 10pt; background-color: #ffffff;"&gt;&lt;EM&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;&amp;lt;get column names(numeric);&lt;/SPAN&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; background-color: #ffffff;"&gt;instead of &lt;/SPAN&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; background-color: #ffffff;"&gt;&lt;EM&gt;&amp;lt;&amp;lt;get column names(string,character);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:19:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16863#M15374</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2016-02-11T16:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using a script to plot multiple columns</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16864#M15375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, that did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first column (the x values) is labeled "Vd_V", and then the subsequent columns (the y values) have a name like "x= 1 y= 1 Site 1".&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 18:21:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16864#M15375</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-02-11T18:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using a script to plot multiple columns</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16865#M15376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the names should not matter if you use &lt;EM&gt;&amp;lt;&amp;lt;get column names() &lt;/EM&gt;​without the "string" option. &lt;/P&gt;&lt;P&gt;And Change &lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff; font-size: 10pt;"&gt;&lt;EM&gt;Y(:(Eval(y_cols)))&lt;/EM&gt; into &lt;/SPAN&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff; font-size: 10pt;"&gt;&lt;EM&gt;Y(Eval(y_cols))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 19:00:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16865#M15376</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2016-02-11T19:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using a script to plot multiple columns</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16866#M15377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 20:59:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-script-to-plot-multiple-columns/m-p/16866#M15377</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-02-11T20:59:44Z</dc:date>
    </item>
  </channel>
</rss>

