<?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 script frame size of fits in fit curve platform with group variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/691791#M87750</link>
    <description>&lt;P&gt;I would use XPath to get the reference to all Frameboxes and then pick from those all I want to modify. Below is example where the size of all frameboxes is modified&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = dt &amp;lt;&amp;lt; Fit Curve(Y(:weight), X(:height), Group(:sex), Fit Linear);

fbs = Report(obj) &amp;lt;&amp;lt; XPath("//FrameBox");

wait(1); // for demo purposes

fbs &amp;lt;&amp;lt; Frame Size(316, 134);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 29 Oct 2023 15:05:28 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-10-29T15:05:28Z</dc:date>
    <item>
      <title>How to script frame size of fits in fit curve platform with group variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/691755#M87748</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In JMP 15 it was easy to modify the frame size of the fits in the fit curve platform using a group variable.&lt;/P&gt;&lt;P&gt;In JMP 17 it seems to be different. Even if I modify the frame sizes manually and I try to get the appropriate script by using "Save By-Group Script to Script Window" I don't get a script with modified frame sizes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I may use the following script:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt &amp;lt;&amp;lt; Fit Curve(
	Y( :weight ),
	X( :height ),
	Group( :sex ),
	Fit Linear,
	SendToReport(
		Dispatch(
			{"Plot"},
			"Fit Curve Report",
			FrameBox,
			{Frame Size( 316, 134 ), Marker Drawing Mode( "Normal" )}
		),
		Dispatch(
			{"Plot"},
			"Fit Curve Report",
			FrameBox( 2 ),
			{Frame Size( 316, 134 ), Marker Drawing Mode( "Normal" )}
		),
		Dispatch(
			{"Plot"},
			"Fit Curve Report",
			FrameBox( 3 ),
			{Frame Size( 316, 134 ), Marker Drawing Mode( "Normal" )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My question is how to modify the frame size of the linear fits:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PolygonStallion_0-1698561812064.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58080iCBB0E7A6E24A6775/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PolygonStallion_0-1698561812064.png" alt="PolygonStallion_0-1698561812064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry, if the issue was already posted.&lt;/P&gt;&lt;P&gt;Many thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 06:48:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/691755#M87748</guid>
      <dc:creator>PolygonStallion</dc:creator>
      <dc:date>2023-10-29T06:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to script frame size of fits in fit curve platform with group variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/691791#M87750</link>
      <description>&lt;P&gt;I would use XPath to get the reference to all Frameboxes and then pick from those all I want to modify. Below is example where the size of all frameboxes is modified&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = dt &amp;lt;&amp;lt; Fit Curve(Y(:weight), X(:height), Group(:sex), Fit Linear);

fbs = Report(obj) &amp;lt;&amp;lt; XPath("//FrameBox");

wait(1); // for demo purposes

fbs &amp;lt;&amp;lt; Frame Size(316, 134);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 29 Oct 2023 15:05:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/691791#M87750</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-29T15:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to script frame size of fits in fit curve platform with group variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/692357#M87806</link>
      <description>&lt;P&gt;Hi jthi,&lt;BR /&gt;&lt;BR /&gt;Many thanks for your reply.&amp;nbsp;&lt;SPAN&gt;Your solution works very well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I'm&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;just&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;wondering&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;why&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;it's&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;not&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;possible&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;to&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;manually&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;resize&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;the&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;window&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;to&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;generate&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;script&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;that&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;does&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;the&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;same&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;thing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 06:13:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/692357#M87806</guid>
      <dc:creator>PolygonStallion</dc:creator>
      <dc:date>2023-10-31T06:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to script frame size of fits in fit curve platform with group variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/692386#M87809</link>
      <description>&lt;P&gt;Quickly checking it seems like JMP isn't able to capture the modifications done to the FrameBoxes which are within Linear outlinebox.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 06:50:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-frame-size-of-fits-in-fit-curve-platform-with/m-p/692386#M87809</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-31T06:50:03Z</dc:date>
    </item>
  </channel>
</rss>

