<?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: Droite de référence particulière sur un histogramme in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963128#M110304</link>
    <description>&lt;P&gt;You have few options:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set Target of specification limit column property as the mean and enable those in plots. You will need to calculate these beforehand and set them to column properties but summary + manage spec limits should be able to do this&lt;/LI&gt;
&lt;LI&gt;JSL: use Column Switch Handler which updates the reference lines as column changes&lt;/LI&gt;
&lt;LI&gt;JSL: Create graphic script which is able to update the reference line&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Use different platform such as Graph Builder in which you can easily add the line as separate element&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 06 Aug 2026 17:59:21 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-08-06T17:59:21Z</dc:date>
    <item>
      <title>Droite de référence particulière sur un histogramme</title>
      <link>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963110#M110302</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Comment ajouter une ligne de référence (celle de la moyenne) sur l'histogramme de la plateforme distribution lorsque l'on a un sélecteur de colonnes, je souhaite avoir cette ligne pour chacune des&amp;nbsp; 10&amp;nbsp; variables, évidemment sans avoir à la rajouter à la main ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Par avance merci.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Jean-Luc&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2026 15:09:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963110#M110302</guid>
      <dc:creator>rugolf</dc:creator>
      <dc:date>2026-08-06T15:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Droite de référence particulière sur un histogramme</title>
      <link>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963128#M110304</link>
      <description>&lt;P&gt;You have few options:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set Target of specification limit column property as the mean and enable those in plots. You will need to calculate these beforehand and set them to column properties but summary + manage spec limits should be able to do this&lt;/LI&gt;
&lt;LI&gt;JSL: use Column Switch Handler which updates the reference lines as column changes&lt;/LI&gt;
&lt;LI&gt;JSL: Create graphic script which is able to update the reference line&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Use different platform such as Graph Builder in which you can easily add the line as separate element&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 06 Aug 2026 17:59:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963128#M110304</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-08-06T17:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Droite de référence particulière sur un histogramme</title>
      <link>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963129#M110305</link>
      <description>&lt;P&gt;Below are some examples for the JSL options (there are plenty of different ways of doing these):&lt;/P&gt;
&lt;P&gt;Example for the graphic script option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

dist = dt &amp;lt;&amp;lt; Distribution(
	Continuous Distribution(
		Column(:height),
		Always use column properties(1),
		Process Capability(0)
	),
	Column Switcher(:height, {:height, :weight})
);


Report(dist)[FrameBox(1)] &amp;lt;&amp;lt; Add Graphics Script(Function({this},
	m = ((this &amp;lt;&amp;lt; Top Parent)[OutlineBox("Summary Statistics"), Number Col Box(1)] &amp;lt;&amp;lt; get)[1];
	Pen Color("Purple");
	Pen Size(5);
	H Line(m);
));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example for the column switch handler:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

dist = dt &amp;lt;&amp;lt; Distribution(
	Continuous Distribution(
		Column(:height),
		Always use column properties(1),
		Process Capability(0)
	)
);

cw = dist &amp;lt;&amp;lt; Column Switcher(:height, {:height, :weight});
post = Function({previousColumn, currentColumn, switcher},
	prevm = Col Mean(previousColumn);
	m = Col Mean(currentColumn);
	axisbox = Report(dist)[axis box(1)];
	Try(axisbox &amp;lt;&amp;lt; Remove Ref Line(prevm));
	axisbox &amp;lt;&amp;lt; Add Ref Line(m, "Dashed", blue, "Mean", 2);
	wait(0);
);
handler = cw &amp;lt;&amp;lt; Make Column Switch Handler(Empty(), post);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2026 18:11:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Droite-de-r%C3%A9f%C3%A9rence-particuli%C3%A8re-sur-un-histogramme/m-p/963129#M110305</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-08-06T18:11:00Z</dc:date>
    </item>
  </channel>
</rss>

