<?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: Graph builder: add p-values in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-builder-add-p-values/m-p/51811#M29388</link>
    <description>&lt;P&gt;Here is a sample of how to add values to a Graph Builder output.&amp;nbsp; It isn't based upon your exact script, but I think you will be able to get from it the approach you will need to do to get your needs met.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
dt:height &amp;lt;&amp;lt; set property(
	"spec limits",
	{LSL( 55 ), USL( 65 ), Show Limits( 1 )}
);
gb = Graph Builder(
	Size( 534, 448 ),
	Show Control Panel( 0 ),
	Variables( X( :sex ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Add Ref Line( 58, "Solid", "Black", "MUSL", 1 )}
		)
	)
);
Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 22 Feb 2018 03:56:19 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2018-02-22T03:56:19Z</dc:date>
    <item>
      <title>Graph builder: add p-values</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-add-p-values/m-p/51764#M29383</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am plotting means of a response of three groups (BASE, LIV, SHAM) over time using graph builder.&amp;nbsp; So far I have been able to plot the means and STD, as you can see.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="plot.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9449i8A66904ADB3ED67B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="plot.png" alt="plot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would like to add&amp;nbsp;p-values from a t-test comparing LIV vs. SHAM at each time point without having to do in manuallly by adding a text box to the image, similar to what I did here.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="plot_p-values.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9450i132F097D70BAF143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="plot_p-values.png" alt="plot_p-values.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Is this possible?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My current script is below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 757, 640 ),
	Variables( X( :time ), Y( :distal epi trab BMD ), Overlay( :study group ) ),
	Elements(
		Points(
			X,
			Y,
			Legend( 46 ),
			Summary Statistic( "Mean" ),
			Error Bars( "Standard Deviation" )
		),Line( X, Y, Legend( 13 ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 23:01:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-add-p-values/m-p/51764#M29383</guid>
      <dc:creator>Kyle_B</dc:creator>
      <dc:date>2018-02-21T23:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Graph builder: add p-values</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-add-p-values/m-p/51811#M29388</link>
      <description>&lt;P&gt;Here is a sample of how to add values to a Graph Builder output.&amp;nbsp; It isn't based upon your exact script, but I think you will be able to get from it the approach you will need to do to get your needs met.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
dt:height &amp;lt;&amp;lt; set property(
	"spec limits",
	{LSL( 55 ), USL( 65 ), Show Limits( 1 )}
);
gb = Graph Builder(
	Size( 534, 448 ),
	Show Control Panel( 0 ),
	Variables( X( :sex ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Add Ref Line( 58, "Solid", "Black", "MUSL", 1 )}
		)
	)
);
Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Feb 2018 03:56:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-add-p-values/m-p/51811#M29388</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-02-22T03:56:19Z</dc:date>
    </item>
  </channel>
</rss>

