<?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: Add Mean to distribution plateform in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/433932#M68373</link>
    <description>&lt;P&gt;Thank you for your answer. Actually, yes, I would like the calculated mean value to be automatically displayed on the chart&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 08:39:46 GMT</pubDate>
    <dc:creator>J_Bonnouvrier1</dc:creator>
    <dc:date>2021-11-08T08:39:46Z</dc:date>
    <item>
      <title>Add Mean to distribution plateform</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/432674#M68240</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the distribution plateforme, I have been asked if it was possible to display the value of the mean of the distribution on the chart?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jérome&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:18:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/432674#M68240</guid>
      <dc:creator>J_Bonnouvrier1</dc:creator>
      <dc:date>2023-06-11T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add Mean to distribution plateform</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/432686#M68241</link>
      <description>&lt;P&gt;I'm not sure if you are asking whether there is an option to display the mean automatically...I know you can always double click on the axis and add any reference line to the plot. &amp;nbsp;Put the mean in the Value box, select the color, style and size of line and Add.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-11-03 at 10.38.42 AM.jpg" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37247i5328A5D28AFE66C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-11-03 at 10.38.42 AM.jpg" alt="Screen Shot 2021-11-03 at 10.38.42 AM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 16:40:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/432686#M68241</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2021-11-03T16:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add Mean to distribution plateform</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/432769#M68246</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/16668"&gt;@J_Bonnouvrier1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could you please give us more information? if you want the numbers on the side of the graph you can follow this picture using the graph builder.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ron_horne_0-1635964208415.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37256i9C3F0C113F929B46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ron_horne_0-1635964208415.png" alt="ron_horne_0-1635964208415.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;otherwise, if you want it on the axis you can add a reference line by right clicking on the axis&amp;gt;&amp;gt;axis settings.&lt;/P&gt;
&lt;P&gt;Best practice is doing this once manually and if needed generalizing the script for future use.&lt;/P&gt;
&lt;P&gt;you can see this as an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;BR /&gt;dis = Distribution( Continuous Distribution( Column( :height ), Vertical( 0 ) ), );
reportdis = dis &amp;lt;&amp;lt; Report;
M = reportdis["Distributions", Number Col Box( 2 )][1];
SD = reportdis["Distributions", Number Col Box( 2 )][2];

dis &amp;lt;&amp;lt; SendToReport(
	Dispatch(
		{"height"},
		"Distrib Histogram",
		FrameBox,
		Add Text Annotation(
			Text(
				"Mean = " || Char( Round( M, 2 ) ) || "
SD = " || Char( Round( SD, 2 ) ),
				Fixed Size( 0 ),
				Text Box( {0, 0, 65, 65} ),
				Filled( 0 )
			)
		)
	),
	Dispatch(
		{"height"},
		"1",
		ScaleBox,
		{Add Ref Line(
			M,
			"Solid",
			"Medium Dark Red",
			Char( M ),
			1,
			1,
			Label Settings( {Label Color( "Medium Dark Red" ), Label Position( "Inside Above" )} )
		)}
	)	
	
);

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise there are many ways to present the mean in a distrinution, including binning the histogram using different units as in this link: &lt;A href="https://community.jmp.com/t5/JMP-Add-Ins/2D-Histograms/ta-p/377945" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Add-Ins/2D-Histograms/ta-p/377945&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;this addin allows you to use SD as bins so all is focused on the mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if this helps.&lt;/P&gt;
&lt;P&gt;ron&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, 03 Nov 2021 21:45:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/432769#M68246</guid>
      <dc:creator>ron_horne</dc:creator>
      <dc:date>2021-11-03T21:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add Mean to distribution plateform</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/433932#M68373</link>
      <description>&lt;P&gt;Thank you for your answer. Actually, yes, I would like the calculated mean value to be automatically displayed on the chart&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 08:39:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/433932#M68373</guid>
      <dc:creator>J_Bonnouvrier1</dc:creator>
      <dc:date>2021-11-08T08:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add Mean to distribution plateform</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/433934#M68374</link>
      <description>&lt;P&gt;Thanks you Ron, I don't have only one but many solutions.&lt;/P&gt;&lt;P&gt;My intuition told me that there is no native option to display it in the distribution plateform and I needed to use a script, but the graph builder option is also an option for reporting only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jérôme&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 08:42:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Mean-to-distribution-plateform/m-p/433934#M68374</guid>
      <dc:creator>J_Bonnouvrier1</dc:creator>
      <dc:date>2021-11-08T08:42:27Z</dc:date>
    </item>
  </channel>
</rss>

