<?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: Adding histogram borders to Contour Plot in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12690#M12051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use copy and paste frame contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;biv = bivariate( y( height ), x( weight ) , Histogram Borders( 1 ));&lt;/P&gt;&lt;P&gt;cont=Graph Builder(&lt;/P&gt;&lt;P&gt;Show Control Panel( 0 ),&lt;/P&gt;&lt;P&gt;Variables( X( :weight ), Y( :height ) ),&lt;/P&gt;&lt;P&gt;Elements(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Contour( X, Y, Legend( 4 ), Number of Levels( 0 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Points( X, Y, Legend( 5 ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;rbiv = biv &amp;lt;&amp;lt; report;&lt;/P&gt;&lt;P&gt;rcont=cont&amp;lt;&amp;lt;report;&lt;/P&gt;&lt;P&gt;rcont[framebox(1)]&amp;lt;&amp;lt; copy frame contents;&lt;/P&gt;&lt;P&gt;rbiv[framebox(3)]&amp;lt;&amp;lt;paste frame contents;;&lt;/P&gt;&lt;P&gt;cont&amp;lt;&amp;lt;close window;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9082_Adding histogram borders to Contour Plot.jpg" style="width: 397px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1646iDC15E2ED501831E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9082_Adding histogram borders to Contour Plot.jpg" alt="9082_Adding histogram borders to Contour Plot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this interactively as well. Create the contour plot , then right click &amp;gt;Edit&amp;gt;Copy Frame Contents.&lt;/P&gt;&lt;P&gt;Then create the bivariate plot with histogram borders, right-click on that and Edit&amp;gt;Paste Frame Contents.&lt;/P&gt;&lt;P&gt;Beauty of this is the axes and frame sizes all adjust automatically,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach isn't so sweet. The code below is incomplete because the axis on both plots should be equal to each other. Demonstates the principal though. (The Wait commands I found were needed to avoid crashing with an exception)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;biv = bivariate( y( height ), x( weight ) , Histogram Borders( 1 ));&lt;/P&gt;&lt;P&gt;cont=Graph Builder(&lt;/P&gt;&lt;P&gt;Size( 308, 270 ),&lt;/P&gt;&lt;P&gt;Show Control Panel( 0 ),&lt;/P&gt;&lt;P&gt;Variables( X( :weight ), Y( :height ) ),&lt;/P&gt;&lt;P&gt;Elements(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Contour( X, Y, Legend( 4 ), Number of Levels( 0 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Points( X, Y, Legend( 5 ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;rbiv = biv &amp;lt;&amp;lt; report;&lt;/P&gt;&lt;P&gt;rcont=cont&amp;lt;&amp;lt;report;&lt;/P&gt;&lt;P&gt;wait(.1);&lt;/P&gt;&lt;P&gt;rbiv[framebox(3)]&amp;lt;&amp;lt; sib append(rcont[framebox(1)]);&lt;/P&gt;&lt;P&gt;wait(.1);&lt;/P&gt;&lt;P&gt;rbiv[framebox(3)]&amp;lt;&amp;lt;delete;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 23:30:59 GMT</pubDate>
    <dc:creator>johnhoughton</dc:creator>
    <dc:date>2016-10-18T23:30:59Z</dc:date>
    <item>
      <title>Adding histogram borders to Contour Plot</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12686#M12047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is a way to add histogram borders to the Contour Plot platform or even within GraphBuilder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a very useful feature within Fit Y by X and was wondering if it is possible or if it has been done before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given JSL is fairly flexible I thought it might be do-able but I haven't quite scoped it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 20:41:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12686#M12047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T20:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding histogram borders to Contour Plot</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12687#M12048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used Application Builder and obtained this view combining Graph Builder and Histograms to mimic what I think you were referring to in the Fit Y by X platform.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8868_Screen Shot 2015-06-06 at 9.31.36 AM.png" style="width: 1195px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1613i778865B3FA655423/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8868_Screen Shot 2015-06-06 at 9.31.36 AM.png" alt="8868_Screen Shot 2015-06-06 at 9.31.36 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:26:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12687#M12048</guid>
      <dc:creator>louv</dc:creator>
      <dc:date>2016-10-18T23:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding histogram borders to Contour Plot</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12688#M12049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks LouV. This is a nice solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, I was wondering if there was a way to add panels/frames within a platform without using ApplicationBuilder to combine them using JSL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 04:08:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12688#M12049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-11T04:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding histogram borders to Contour Plot</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12689#M12050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to do what you want (but you still require JSL). Here's a toy example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #032ce4;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;"$SAMPLE_DATA/Car Physical Data.jmp"&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #008f00;"&gt;// Contour plot object&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier;"&gt;cp &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; dt &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Contour Plot&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;X&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Weight&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Horsepower &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; Y&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Turning Circle &lt;STRONG&gt;))&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #008f00;"&gt;// Contour plot report layer&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier;"&gt;cpRep &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;Report&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;cp&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #008f00;"&gt;// See the structure of the display tree to learn how to modify it&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #008f00;"&gt;// cpRep &amp;lt;&amp;lt; ShowTreeStructure;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #008f00;"&gt;// Prepand a new display box to an existing element . . .&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #032ce4;"&gt;Wait&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier;"&gt;cpRep&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #032ce4;"&gt;ListBox&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;)]&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Prepend&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #032ce4;"&gt;GraphBox&lt;/SPAN&gt;&lt;STRONG&gt;())&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #008f00;"&gt;// Appand a new display box to an existing element . . .&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #032ce4;"&gt;Wait&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;cpRep&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #032ce4;"&gt;ListBox&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;)]&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Append&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #032ce4;"&gt;TextBox&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;"Hello World ... "&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;FontColor&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;"Green"&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 09:02:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12689#M12050</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2015-06-11T09:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding histogram borders to Contour Plot</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12690#M12051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use copy and paste frame contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;biv = bivariate( y( height ), x( weight ) , Histogram Borders( 1 ));&lt;/P&gt;&lt;P&gt;cont=Graph Builder(&lt;/P&gt;&lt;P&gt;Show Control Panel( 0 ),&lt;/P&gt;&lt;P&gt;Variables( X( :weight ), Y( :height ) ),&lt;/P&gt;&lt;P&gt;Elements(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Contour( X, Y, Legend( 4 ), Number of Levels( 0 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Points( X, Y, Legend( 5 ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;rbiv = biv &amp;lt;&amp;lt; report;&lt;/P&gt;&lt;P&gt;rcont=cont&amp;lt;&amp;lt;report;&lt;/P&gt;&lt;P&gt;rcont[framebox(1)]&amp;lt;&amp;lt; copy frame contents;&lt;/P&gt;&lt;P&gt;rbiv[framebox(3)]&amp;lt;&amp;lt;paste frame contents;;&lt;/P&gt;&lt;P&gt;cont&amp;lt;&amp;lt;close window;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9082_Adding histogram borders to Contour Plot.jpg" style="width: 397px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1646iDC15E2ED501831E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9082_Adding histogram borders to Contour Plot.jpg" alt="9082_Adding histogram borders to Contour Plot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this interactively as well. Create the contour plot , then right click &amp;gt;Edit&amp;gt;Copy Frame Contents.&lt;/P&gt;&lt;P&gt;Then create the bivariate plot with histogram borders, right-click on that and Edit&amp;gt;Paste Frame Contents.&lt;/P&gt;&lt;P&gt;Beauty of this is the axes and frame sizes all adjust automatically,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach isn't so sweet. The code below is incomplete because the axis on both plots should be equal to each other. Demonstates the principal though. (The Wait commands I found were needed to avoid crashing with an exception)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;biv = bivariate( y( height ), x( weight ) , Histogram Borders( 1 ));&lt;/P&gt;&lt;P&gt;cont=Graph Builder(&lt;/P&gt;&lt;P&gt;Size( 308, 270 ),&lt;/P&gt;&lt;P&gt;Show Control Panel( 0 ),&lt;/P&gt;&lt;P&gt;Variables( X( :weight ), Y( :height ) ),&lt;/P&gt;&lt;P&gt;Elements(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Contour( X, Y, Legend( 4 ), Number of Levels( 0 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Points( X, Y, Legend( 5 ) )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;rbiv = biv &amp;lt;&amp;lt; report;&lt;/P&gt;&lt;P&gt;rcont=cont&amp;lt;&amp;lt;report;&lt;/P&gt;&lt;P&gt;wait(.1);&lt;/P&gt;&lt;P&gt;rbiv[framebox(3)]&amp;lt;&amp;lt; sib append(rcont[framebox(1)]);&lt;/P&gt;&lt;P&gt;wait(.1);&lt;/P&gt;&lt;P&gt;rbiv[framebox(3)]&amp;lt;&amp;lt;delete;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:30:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-histogram-borders-to-Contour-Plot/m-p/12690#M12051</guid>
      <dc:creator>johnhoughton</dc:creator>
      <dc:date>2016-10-18T23:30:59Z</dc:date>
    </item>
  </channel>
</rss>

