<?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: Is there a way to specify the x/y position of a TextSeg within a FrameBox? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35250#M20806</link>
    <description>&lt;P&gt;If you want to control the X and Y positions of text, you will need to add a Graphics Script to the FrameBox instead of to the TextSeg as the TextSeg is always going to appear in the top left corner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example:&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" );

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements(
		Points( X, Y, Legend( 1 ) ),
		Line Of Fit(
			X,
			Y,
			Legend( 4 ),
			Degree( "Cubic" ),
			Confidence of Prediction( 1 ),
			Root Mean Square Error( 1 ),
			Equation( 1 )
		)
	)
);

Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(
	Text( Center Justified, {60, 40}, "Tallest: Lawrence" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Feb 2017 21:56:36 GMT</pubDate>
    <dc:creator>Justin_Chilton</dc:creator>
    <dc:date>2017-02-02T21:56:36Z</dc:date>
    <item>
      <title>Is there a way to specify the x/y position of a TextSeg within a FrameBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35242#M20801</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements(
		Points( X, Y, Legend( 1 ) ),
		Line Of Fit(
			X,
			Y,
			Legend( 4 ),
			Degree( "Cubic" ),
			Confidence of Prediction( 1 ),
			Root Mean Square Error( 1 ),
			Equation( 1 )
		)
	),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg(
				TextSeg( 1 ),
				Set Text(
					"weight = -3850 + 197.7*height - 3.343*height² + 0.01906*height³
RMSE: 15.77  Tallest: Lawrence"
				)
			)}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:23:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35242#M20801</guid>
      <dc:creator>Phil_Brown</dc:creator>
      <dc:date>2023-06-09T23:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the x/y position of a TextSeg within a FrameBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35250#M20806</link>
      <description>&lt;P&gt;If you want to control the X and Y positions of text, you will need to add a Graphics Script to the FrameBox instead of to the TextSeg as the TextSeg is always going to appear in the top left corner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example:&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" );

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements(
		Points( X, Y, Legend( 1 ) ),
		Line Of Fit(
			X,
			Y,
			Legend( 4 ),
			Degree( "Cubic" ),
			Confidence of Prediction( 1 ),
			Root Mean Square Error( 1 ),
			Equation( 1 )
		)
	)
);

Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(
	Text( Center Justified, {60, 40}, "Tallest: Lawrence" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Feb 2017 21:56:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35250#M20806</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2017-02-02T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify the x/y position of a TextSeg within a FrameBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35255#M20811</link>
      <description>&lt;P&gt;Ok, indeed was aware of Text(). TextSeg being relatively new to me, I wondered about its limitations. Thanks Justin!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 06:54:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-specify-the-x-y-position-of-a-TextSeg-within-a/m-p/35255#M20811</guid>
      <dc:creator>Phil_Brown</dc:creator>
      <dc:date>2017-02-03T06:54:43Z</dc:date>
    </item>
  </channel>
</rss>

