<?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: Overlaying histograms and distributions in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876747#M103981</link>
    <description>&lt;P&gt;And if you tinker a little bit with customize options you can also modify how the kernel density looks (modify line style, width and set fill pattern to no fill)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1748423875010.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76301iA52CAC9010A71754/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_1-1748423875010.png" alt="jthi_1-1748423875010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Idea here (and with earlier solution) is to add two distributions on top of each other, one with Bar and one with Kernel Density style. You can do this by right clicking on the graph and select Add &amp;gt; Histogram and then modify the settings&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1748423967505.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76302i0133D05BD808F709/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1748423967505.png" alt="jthi_2-1748423967505.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 09:20:23 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-05-28T09:20:23Z</dc:date>
    <item>
      <title>Overlaying histograms and distributions</title>
      <link>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876729#M103978</link>
      <description>&lt;P&gt;I would do like to do something similar to this in JMP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bmllnn_0-1748421030593.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76296i4EE0765E70019517/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bmllnn_0-1748421030593.png" alt="Bmllnn_0-1748421030593.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;is it possible to do it in the graph builder?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 08:31:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876729#M103978</guid>
      <dc:creator>Bmllnn</dc:creator>
      <dc:date>2025-05-28T08:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Overlaying histograms and distributions</title>
      <link>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876742#M103979</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is not exactly your plot but you can build overlayed distributions in the Graph Builder like this:&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="Jonas_Rinne_0-1748423211024.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76298iB7A446A1C5367306/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jonas_Rinne_0-1748423211024.png" alt="Jonas_Rinne_0-1748423211024.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Datatable = open("$SAMPLE_DATA/Big Class.jmp") &amp;lt;&amp;lt; 
Graph Builder(
	Size( 528, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :height ), X( :weight, Position( 1 ) ) ),
	Elements(
		Histogram(
			X( 1 ),
			X( 2 ),
			Legend( 5 ),
			Histogram Style( "Kernel Density" ),
			Smoothness( 0.1743 )
		),
		Histogram( X( 1 ), X( 2 ), Legend( 10 ) )
	),
	SendToReport(
		Dispatch( {}, "height", ScaleBox,
			{Min( 38.5123966942149 ), Max( 183 ), Inc( 10 ), Minor Ticks( 1 )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Jonas&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>Wed, 28 May 2025 09:11:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876742#M103979</guid>
      <dc:creator>Jonas_Rinne</dc:creator>
      <dc:date>2025-05-28T09:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Overlaying histograms and distributions</title>
      <link>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876747#M103981</link>
      <description>&lt;P&gt;And if you tinker a little bit with customize options you can also modify how the kernel density looks (modify line style, width and set fill pattern to no fill)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1748423875010.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76301iA52CAC9010A71754/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_1-1748423875010.png" alt="jthi_1-1748423875010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Idea here (and with earlier solution) is to add two distributions on top of each other, one with Bar and one with Kernel Density style. You can do this by right clicking on the graph and select Add &amp;gt; Histogram and then modify the settings&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1748423967505.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76302i0133D05BD808F709/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1748423967505.png" alt="jthi_2-1748423967505.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 09:20:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Overlaying-histograms-and-distributions/m-p/876747#M103981</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-05-28T09:20:23Z</dc:date>
    </item>
  </channel>
</rss>

