<?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: How to make contour plots with colored bands, based on DOE prediction formula ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45806#M26136</link>
    <description>&lt;P&gt;I am not 100% sure what you are trying to do, but if you save&amp;nbsp;the prediction formula (red triangle -&amp;gt; Save Columns -&amp;gt; Save prediction formula) from a Fit Model that has two continuous inputs, you can then open the Contour Plot, under graph, and&amp;nbsp;see predicted values across the whole design space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example script is attached.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 15:15:20 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2017-10-12T15:15:20Z</dc:date>
    <item>
      <title>How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45788#M26133</link>
      <description />
      <pubDate>Thu, 12 Oct 2017 10:50:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45788#M26133</guid>
      <dc:creator>Ken_Liljegren</dc:creator>
      <dc:date>2017-10-12T10:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45804#M26135</link>
      <description>&lt;P&gt;If you have the DOE data table, all you have to do, is to run the model, and under the red triangle in the output, select&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Save Columns==&amp;gt;Save Predicted Formula&lt;/P&gt;
&lt;P&gt;It will create a new column in your data table that has the predicted values in it.&lt;/P&gt;
&lt;P&gt;Then all you have to do is to run the Contour Plot Platform&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Graph==&amp;gt;Contour Plot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:13:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45804#M26135</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-10-12T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45806#M26136</link>
      <description>&lt;P&gt;I am not 100% sure what you are trying to do, but if you save&amp;nbsp;the prediction formula (red triangle -&amp;gt; Save Columns -&amp;gt; Save prediction formula) from a Fit Model that has two continuous inputs, you can then open the Contour Plot, under graph, and&amp;nbsp;see predicted values across the whole design space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example script is attached.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:15:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45806#M26136</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-10-12T15:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45807#M26137</link>
      <description>Ha, I guess I should have looked for replies before I hit post. :)&lt;/img&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:16:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45807#M26137</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-10-12T15:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45878#M26161</link>
      <description>&lt;P&gt;txnelson and ih&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I do this I get a contour plot where the contours are not smooth curves, but lines with "kinks".&lt;/P&gt;&lt;P&gt;That is why I tried using the contour profiler - but in contour profiler I can't make the mulitycolored contour "bands" - i.e where a contour map goes from a red band over yellow, green blue to purple if you do a chromatic contour color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a contour map where I can read the predicted response value off the map. Since the Contour Plot has "lines with kinks" and not "smooth curves", the contours can't be following the prediction formula.&lt;/P&gt;&lt;P&gt;Instead, I plot some predicted values (thank for help with that !) but then the Contour plot just lays a poor approximation of contours over it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this make sense ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;br Ken&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:08:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45878#M26161</guid>
      <dc:creator>Ken_Liljegren</dc:creator>
      <dc:date>2017-10-13T11:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45879#M26162</link>
      <description>&lt;P&gt;Your "Kinky" plot is due to the small number of data points.&amp;nbsp; All you have to do to smooth out the plot is to generate more data points between the max and min values for your X1 and X2 columns.&amp;nbsp; The prediction column will automatically generate the Y values, since it is a formula based upon the X1 and X2 column.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:13:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45879#M26162</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-10-13T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45880#M26163</link>
      <description>&lt;P&gt;He he, I tried to avoid the term kinky ;)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any easy way to generate a lot more X values ?&lt;/P&gt;&lt;P&gt;Or do I have to enter manually ?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:20:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45880#M26163</guid>
      <dc:creator>Ken_Liljegren</dc:creator>
      <dc:date>2017-10-13T11:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45881#M26164</link>
      <description>&lt;P&gt;Here is a simple script that will create a new data table and will generate whatever range of X1 and X2 values you want.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = New Table( "More Points", New Column( "X1" ), New Column( "X2" ) );

// Change the desired min and max for the X1
For( X1Vals = .1, X1Vals &amp;lt;= 2, X1Vals = X1Vals + .1,
	// Change the desired min and max for the X2
	For( X2Vals = .1, X2Vals &amp;lt;= 2, X2Vals = X2Vals + .1,
		dt &amp;lt;&amp;lt; Add Rows( 1 );
		dt:X1[N Rows( dt )] = X1Vals;
		dt:X2[N Rows( dt )] = X2Vals;
	)
);

// Now manually add your Y column and paste in the formula 
// into the column&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or if you just want to add more rows to your current data table, the script below is just a very simple change to the above script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

// Change the desired min and max for the X1
For( X1Vals = .1, X1Vals &amp;lt;= 2, X1Vals = X1Vals + .1,
	// Change the desired min and max for the X2
	For( X2Vals = .1, X2Vals &amp;lt;= 2, X2Vals = X2Vals + .1,
		dt &amp;lt;&amp;lt; Add Rows( 1 );
		dt:X1[N Rows( dt )] = X1Vals;
		dt:X2[N Rows( dt )] = X2Vals;
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:36:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45881#M26164</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-10-13T11:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45892#M26166</link>
      <description>&lt;P&gt;Building on Jim's comment that you need more data points, you can also use the contour plot platform to create this grid for you:&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-left" image-alt="contour plot grid.png" style="width: 611px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7985i5FEAC2D4106FE6F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="contour plot grid.png" alt="contour plot grid.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 12:29:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45892#M26166</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-10-13T12:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make contour plots with colored bands, based on DOE prediction formula ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45906#M26169</link>
      <description>&lt;P&gt;Thanks ih and Jim !&lt;/P&gt;&lt;P&gt;The contour plot "expansion" illustrated by ih helps me a lot - then I don't need to generate a lot of extra points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;br Ken&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:28:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-contour-plots-with-colored-bands-based-on-DOE/m-p/45906#M26169</guid>
      <dc:creator>Ken_Liljegren</dc:creator>
      <dc:date>2017-10-13T14:28:03Z</dc:date>
    </item>
  </channel>
</rss>

