<?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 set default wrap text size to text box in bivariate plot (or any other type) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597896#M80152</link>
    <description>&lt;P&gt;Im working with JMP14, It worked when i change the command the "set wrap width ( 1000 )" to "set wrap ( 1000 )"&lt;/P&gt;&lt;P&gt;Working great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edan&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 11:59:14 GMT</pubDate>
    <dc:creator>edahari</dc:creator>
    <dc:date>2023-02-07T11:59:14Z</dc:date>
    <item>
      <title>How to set default wrap text size to text box in bivariate plot (or any other type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597403#M80100</link>
      <description>&lt;P&gt;When generating a&amp;nbsp;bivariate plot (for example) - the text box size is to narrow for the inside writing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the script i need to CTRL Right click the text box are and choose "Wrap Text" then choose the size i want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to default choose the size? or any way to add to script to generate the plot with the desired wrap text size?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;For example:&lt;BR /&gt;&amp;nbsp;text box result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edahari_0-1675674813648.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49844iE69B8BD502456AEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edahari_0-1675674813648.png" alt="edahari_0-1675674813648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Text box results i want&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edahari_1-1675674865412.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49845i6DDB4E86AEB312EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edahari_1-1675674865412.png" alt="edahari_1-1675674865412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The JSL code im using - Y,X can be what ever data numeric. legend in nominal like Hose_1, House_2, ... (ref line not important)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Bivariate(
	Y( :Y_column ),
	X( :X_column),
					
	by(),
	Automatic Recalc( 1 ),
	Group By(:Some_column),
	Fit Spline( 0.1, Standardized,{REPORT(0)} ),
					
	SendToReport(
		Dispatch({},"1",ScaleBox,{Format( "m/d/y", 10 ),	Interval( "Day" ), Inc( 4 ), Minor Ticks( 1 ),Rotated Labels( "Vertical" )}),
		Dispatch({},"2",ScaleBox,{Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "UCL", 2 ),Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "LCL", 2 )}),
		Dispatch({},"3",ScaleBox,{Rotated Labels( "Vertical" )}),
		Dispatch({},"Bivar Plot",FrameBox,{Marker Size( 1 ), Marker Selection Mode( "Unselected Faded" ),{Frame Size( 390, 270 ), Marker Size( MSB ), Line Width Scale( 1 )},
			Row Legend(:Some_column,Color( 1 ),Color Theme( "JMP Default" ),Marker( 0 ), Marker Theme( "" ),Continuous Scale( 0 ),Reverse Scale( 0 ),Excluded Rows( 0 ))}
		)	
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:38:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597403#M80100</guid>
      <dc:creator>edahari</dc:creator>
      <dc:date>2023-06-08T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default wrap text size to text box in bivariate plot (or any other type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597617#M80111</link>
      <description>&lt;P&gt;Hello, This can be done as follows. You will want to read up on navigating JMP's "Display Tree" to see how reports are constructed, and the xPath ( ) command, for the convenience it affords.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is needed here is to answer 2 questions:&lt;/P&gt;
&lt;P&gt;1) In what type of structure does the text reside, and&lt;/P&gt;
&lt;P&gt;2) How best to access these structures conveniently--all at once, if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &amp;lt;&amp;lt; show tree structure message can help with 1), and xPath ( ) can often help with 2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run the following script. I've put a stop ( ) in it after using a &amp;lt;&amp;lt; show tree structure message. Examine the tree structure and you will notice that the text you want to change lies in each of the TextEditBox structures subordinate to PictureBox( 2 ) in the report.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brady_brady_0-1675698899072.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49861i35241BE01F3C1442/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brady_brady_0-1675698899072.png" alt="brady_brady_0-1675698899072.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Knowing this, you would create the remainder of the script as I have. In the final script, of course, you would leave out the lines with rep &amp;lt;&amp;lt; show tree structure and stop ( );&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 = astable((1::20)` || ((3::60::3)` + J(20,1,randomnormal())), &amp;lt;&amp;lt;column names( {"x", "y"}));
dt &amp;lt;&amp;lt; new column (repeat("group", 6), character, &amp;lt;&amp;lt;set values (repeat(words("abcd", ""), 5)));
	
biv = Bivariate(
	Y( :y ),
	X( :x ),
	Fit Where(
		:groupgroupgroupgroupgroupgroup == "a",
		Fit Spline( 0.1, {Line Color( {212, 73, 88} )} )
	),
	Fit Where(
		:groupgroupgroupgroupgroupgroup == "b",
		Fit Spline( 0.1, {Line Color( {61, 174, 70} )} )
	),
	Fit Where(
		:groupgroupgroupgroupgroupgroup == "c",
		Fit Spline( 0.1, {Line Color( {66, 112, 221} )} )
	),&lt;BR /&gt;	Fit Where(
		:groupgroupgroupgroupgroupgroup == "d",
		Fit Spline( 0.1, {Line Color( {66, 112, 221} )} )
	)
);

rep = report(biv);
rep &amp;lt;&amp;lt; show tree structutre;

stop ();
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Use the tree structure to notice where the smoothing fit descriptions lie.
// They are in the 2nd picturebox of the report.


//get the picture box holding the spline fit descriptions
picBox = report(biv)[picturebox(2)];

// set the width of the textEditBoxes within the picture box, all at once, using xPath
// width is in pixels... use something you know will be well long enough.
( picBox &amp;lt;&amp;lt; xPath("//TextEditBox") )  &amp;lt;&amp;lt; set wrap width ( 1000 );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Brady&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 16:16:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597617#M80111</guid>
      <dc:creator>brady_brady</dc:creator>
      <dc:date>2023-02-06T16:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default wrap text size to text box in bivariate plot (or any other type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597896#M80152</link>
      <description>&lt;P&gt;Im working with JMP14, It worked when i change the command the "set wrap width ( 1000 )" to "set wrap ( 1000 )"&lt;/P&gt;&lt;P&gt;Working great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edan&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 11:59:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/597896#M80152</guid>
      <dc:creator>edahari</dc:creator>
      <dc:date>2023-02-07T11:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default wrap text size to text box in bivariate plot (or any other type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/598021#M80163</link>
      <description>&lt;P&gt;The script you gave my working great for a single report, but when using a report page with Expiration as the bivariant like so:&lt;/P&gt;&lt;P&gt;the variable gets an Expr of the Bivariant - for later use in a report window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see JSL attached&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't work&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Names Default To Here(1);

	dt = astable((1::20)` || ((3::60::3)` + J(20,1,randomnormal())), &amp;lt;&amp;lt;column names( {"x", "y"}));
	dt &amp;lt;&amp;lt; new column (repeat("group", 6), character, &amp;lt;&amp;lt;set values (repeat(words("abcd", ""), 5)));
		
	biv_1 = expr(dt &amp;lt;&amp;lt; Bivariate(
			Y( :y ),
			X( :x ),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "a",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {212, 73, 88} ), Report( 0 )} )
			),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "b",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {61, 174, 70} ), Report( 0 )} )
			),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "c",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {66, 112, 221} ), Report( 0 )} )
			),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "d",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {66, 112, 221} ), Report( 0 )} )
			)
		)
	);

	biv_2 = expr(dt &amp;lt;&amp;lt; Bivariate(
			Y( :x ),
			X( :y ),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "a",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {212, 73, 88} ), Report( 0 )} )
			),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "b",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {61, 174, 70} ), Report( 0 )} )
			),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "c",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {66, 112, 221} ), Report( 0 )} )
			),
			Fit Where(
				:groupgroupgroupgroupgroupgroup == "d",
				Fit Spline( 0.1, {Report( 0 ), Line Color( {66, 112, 221} ), Report( 0 )} )
			)
		)
	);

	/*Start - Report */
		output = New Window("The Report",
					Tab Box("Chart", 
						H List Box(biv_1, biv_2)
					)
		);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 14:44:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/598021#M80163</guid>
      <dc:creator>edahari</dc:creator>
      <dc:date>2023-02-07T14:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default wrap text size to text box in bivariate plot (or any other type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/598284#M80193</link>
      <description>&lt;P&gt;&lt;SPAN&gt;xPath ( )&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 02:57:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-default-wrap-text-size-to-text-box-in-bivariate-plot/m-p/598284#M80193</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-02-08T02:57:04Z</dc:date>
    </item>
  </channel>
</rss>

