<?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 show multiple summary statistics in a graph for single set of points in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917835#M107751</link>
    <description>&lt;P&gt;you can stack different types of markers, like Bar/Float, Circle and marker with Marker shape:&lt;BR /&gt;N: inside the circle&lt;BR /&gt;mean: on the right&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1764968419245.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88378iD20B0D60646E7C6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1764968419245.png" alt="hogi_2-1764968419245.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Dec 2025 21:00:30 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-12-05T21:00:30Z</dc:date>
    <item>
      <title>How to show multiple summary statistics in a graph for single set of points</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917797#M107745</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a graph using a scattered plot.&lt;/P&gt;
&lt;P&gt;My points are based on the "mean" statistics.&lt;/P&gt;
&lt;P&gt;I'd like to add labels of "mean" and "N" statistics to the same points.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the scale is very different between "mean" and "N", adding second set of same points to the graph hides all the differences of "mean" statistics.&lt;/P&gt;
&lt;P&gt;How can I show both statistics to the single set of "mean" points?&lt;/P&gt;
&lt;P&gt;I'm hoping I don't have to use JSL script if there's a simple way to do this.&lt;/P&gt;
&lt;P&gt;If I have to script, I tried this but "N" labels never show up while "mean" labels show up as expected.&lt;/P&gt;
&lt;P&gt;Can anybody help?&lt;/P&gt;
&lt;P&gt;Thank you so much!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( X( :p ), Y( :a ) ),
	Elements(
		Points(
			X,
			Y,
			Legend( 5 ),
			Summary Statistic( "Mean" ),
			Marker Size( 8 ),
			Marker Color( "Medium Blue" ),
			Label( "Label by Value" ),

		)
	),
	Elements(
		Text(
			X,
			Y,
			Summary Statistic( "N" ),
			Label( "Name and Value" ),
			Jitter( 0 ),
			Label Justification( "Right" ),
			Set Font Style( "Bold" ),
			Set Font Size( 12 )
		)
	),
	SendToReport( Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Mean Points with N Labels" )} ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;txnelson edit: moved code to JSL display box&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="Learner_JMP_0-1764965117079.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88363iCF60F5D0042C88C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Learner_JMP_0-1764965117079.png" alt="Learner_JMP_0-1764965117079.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 21:10:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917797#M107745</guid>
      <dc:creator>Learner_JMP</dc:creator>
      <dc:date>2025-12-05T21:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to show multiple summary statistics in a graph for single set of points</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917814#M107746</link>
      <description>&lt;P&gt;How about Caption / Graph per factor?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1764966625275.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88371i8DCACAB62E675FC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1764966625275.png" alt="hogi_1-1764966625275.png" /&gt;&lt;/span&gt;&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="hogi_0-1764966604996.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88370i7C68B086C8997236/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1764966604996.png" alt="hogi_0-1764966604996.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
	Size( 643, 335 ),
	Graph Spacing( 4 ),
	Variables( X( :age ), Y( :height ) ),
	Elements(
		Points( X, Y, Legend( 4 ), Summary Statistic( "Mean" ) ),
		Caption Box(
			X,
			Y,
			Legend( 5 ),
			Summary Statistic( "Mean" ),
			Summary Statistic 2( "N" ),
			Location( "Graph per factor" )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 20:30:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917814#M107746</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-05T20:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to show multiple summary statistics in a graph for single set of points</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917818#M107748</link>
      <description>&lt;P&gt;Use a column to create the label - and use it as Shape Column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1764966926048.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88372i6753B5228E7B66FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1764966926048.png" alt="hogi_2-1764966926048.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_5-1764967794949.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88375i37CD9DCA808EA49F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_5-1764967794949.png" alt="hogi_5-1764967794949.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;
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Column( "label",
	Character,
	Formula(
		Char( Round( Col Mean( :height, :age ) ) ) || "
" ||
		Char( Col Number( :height, :age ) )
	)
);

Graph Builder(
	Variables( X( :age ), Y( :height ) ),
	Elements(
		Points(
			X,
			Y,
			Legend( 3 ),
			Summary Statistic( "Mean" ),
			Set Shape Column( :label )
		),
		Points( X, Y, Legend( 4 ), Summary Statistic( "Mean" ) )
	),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model(
				4,
				Properties( 0, {Marker( "Circle" ), Marker Size( 30 )}, Item ID( "Mean", 1 ) )
			)}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 20:50:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917818#M107748</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-05T20:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to show multiple summary statistics in a graph for single set of points</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917835#M107751</link>
      <description>&lt;P&gt;you can stack different types of markers, like Bar/Float, Circle and marker with Marker shape:&lt;BR /&gt;N: inside the circle&lt;BR /&gt;mean: on the right&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1764968419245.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/88378iD20B0D60646E7C6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1764968419245.png" alt="hogi_2-1764968419245.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 21:00:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917835#M107751</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-05T21:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to show multiple summary statistics in a graph for single set of points</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917837#M107752</link>
      <description>&lt;P&gt;Thank you so much, hogi!&lt;/P&gt;
&lt;P&gt;This is exactly how I envisioned!&lt;/P&gt;
&lt;P&gt;You made my day!!!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 22:20:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-multiple-summary-statistics-in-a-graph-for-single/m-p/917837#M107752</guid>
      <dc:creator>Learner_JMP</dc:creator>
      <dc:date>2025-12-05T22:20:41Z</dc:date>
    </item>
  </channel>
</rss>

