<?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 insert data labels in graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28862#M19204</link>
    <description>&lt;P&gt;A script can be written to handle that issue.&amp;nbsp; The summary stats can be calculated and then annotation can be added to the graph that contains the summary information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have some sample data I can give you a good start on how to do that.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2016 19:34:12 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2016-11-07T19:34:12Z</dc:date>
    <item>
      <title>How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28747#M19162</link>
      <description>&lt;P&gt;Can someone please tell me how to insert data labels in Confidence interval plots and control chart averages of Jmp12? See the attached image for better clarification.&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="Confidence.png" style="width: 596px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7233i09D91E0893F3392E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Confidence.png" alt="Confidence.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:37:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28747#M19162</guid>
      <dc:creator>BemRan</dc:creator>
      <dc:date>2017-08-18T21:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28752#M19164</link>
      <description>&lt;P&gt;Are you asking how to interactively add labels to the chart?&lt;/P&gt;
&lt;P&gt;Since the Mean and Confidence Intervals are calculated values, you can not use the Row State Label options to display the values. You can right click on the graph, and add a caption box, however, the stats displayed there are overall stats. What you will need to do is to go to the Drawing tools and select a text entry box, and to add it manually to the graph.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Graph Label.png" style="width: 938px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3925iC6575C90A7DA9163/image-size/large?v=v2&amp;amp;px=999" role="button" title="Graph Label.png" alt="Graph Label.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 20:44:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28752#M19164</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-11-03T20:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28853#M19202</link>
      <description>&lt;P&gt;Thanks Jim.&lt;/P&gt;&lt;P&gt;It looks like that I have to manually calculate stat for each factor and insert in a caption box!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 18:44:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28853#M19202</guid>
      <dc:creator>BemRan</dc:creator>
      <dc:date>2016-11-07T18:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28862#M19204</link>
      <description>&lt;P&gt;A script can be written to handle that issue.&amp;nbsp; The summary stats can be calculated and then annotation can be added to the graph that contains the summary information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have some sample data I can give you a good start on how to do that.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 19:34:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28862#M19204</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-11-07T19:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28869#M19209</link>
      <description>Thanks! I have attached a simple two factor data table.</description>
      <pubDate>Mon, 07 Nov 2016 21:48:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28869#M19209</guid>
      <dc:creator>BemRan</dc:creator>
      <dc:date>2016-11-07T21:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28870#M19210</link>
      <description />
      <pubDate>Mon, 07 Nov 2016 21:51:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28870#M19210</guid>
      <dc:creator>BemRan</dc:creator>
      <dc:date>2016-11-07T21:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28872#M19211</link>
      <description>My fault.....there is an issue with the current discussion forum, where you can not attach something after the initial responses. Can you convert it to a script:&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under the "Source" entry in the Tables Panel for the data table, click on it and select&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Copy Table Script"&amp;nbsp;&lt;BR /&gt;Then click on the "Insert JSL Code" in your reply and paste the code into it&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:38:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28872#M19211</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-08-18T21:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28875#M19213</link>
      <description>&lt;PRE&gt;New Table( "test",
	Add Rows( 20 ),
	New Column( "Factor-1",
		Character,
		"Nominal",
		Set Values(
			{"Factor 1", "Factor 1", "Factor 1", "Factor 1", "Factor 1", "Factor 1",
			"Factor 1", "Factor 1", "Factor 1", "Factor 1", "Factor 2", "Factor 2",
			"Factor 2", "Factor 2", "Factor 2", "Factor 2", "Factor 2", "Factor 2",
			"Factor 2", "Factor 2"}
		)
	),
	New Column( "Thickness",
		Numeric,
		"Continuous",
		Format( "Best", 11 ),
		Set Selected,
		Set Values(
			[1.50740933, 1.601142469, 1.074704843, 1.884292315, 1.012608931,
			1.607336196, 1.832731982, 1.269104476, 1.652280427, 1.729379409,
			0.195244429, 0.764830482, 0.401538929, 0.890074236, 0.395640352,
			0.896762654, 0.389728401, 0.223935429, 0.165762602, 0.414394237]
		)
	),
	Set Row States( [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] )
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:30:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28875#M19213</guid>
      <dc:creator>BemRan</dc:creator>
      <dc:date>2016-11-07T23:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data labels in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28879#M19214</link>
      <description>&lt;P&gt;Here is the simple script to give you a start.&amp;nbsp; It can be made far more fancy, but this should give you a start:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

// Calculate the means so they can be displayed
Summarize( dt, bygroup = by( :Name( "Factor-1" ) ), themeans = Mean( :thickness ) );

// Run the basic graph builder code
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables( X( :Name( "Factor-1" ) ), Y( :Thickness ) ),
	Elements( Points( X, Y, Legend( 5 ), Summary Statistic( "Mean" ), Error Bars( "Confidence Interval" ) ) )
);

// Loop across the different factors and add the mean as a text
// Note, that because the x axis values are based upon a character column,
// the X position is 0 for the first group, 1 for the second, etc.
For( i = 1, i &amp;lt;= N Items( bygroup ), i++, 
	Eval(
		Substitute(
				Expr(
					Report( gb )[framebox( 1 )] &amp;lt;&amp;lt; add graphics script( Text( {__x__, __y__}, __mean__ ) )
				),
			Expr( __x__ ), i-1 + .1,
			Expr( __y__ ), themeans[i],
			Expr( __mean__ ), Char( Themeans[i] )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Nov 2016 01:27:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-insert-data-labels-in-graph-builder/m-p/28879#M19214</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-11-08T01:27:32Z</dc:date>
    </item>
  </channel>
</rss>

