<?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: Name Unresolved: Framebox and other properties in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534549#M75714</link>
    <description>&lt;P&gt;When you have a By() element in Bivariate, a separate Display Tree is created for each By variable level.&amp;nbsp; The referencing of an object below a specific level in the By variable(s), needs to be specified.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rbiv = report( biv[2] );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Below is a simple example, deleting the whole report for the second level of the By variable Sex&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "/C:/Program Files/SAS/JMPPRO/15/Samples/Data/Big Class.jmp" );

biv = bivariate( x( :height ), y( :weight ), by( :sex ) );
Show( biv );
Report( biv[2] )[Outline Box( 1 )] &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2022 03:49:23 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-08-17T03:49:23Z</dc:date>
    <item>
      <title>Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533175#M75603</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I tried creating a function but it keeps getting an error with the framebox, axisbox and outline box. I don't understand the well what is wrong with the function. Please help and explain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name Unresolved: Framebox in access or evaluation of 'Framebox' , Framebox( 1 ) /*###*/&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bivplot = Function( {x_param, y_param, int1, int2 },
	biv = Bivariate( X( Column( x_param ) ), Y( Column( y_param ) ), 
	Fit Line( {Confid Curves Indiv( 0 ), Line Color( "Black" )} ),
	Fit Special( Intercept( int1 ), Slope( 1 ), {Line Color( "Purple" )} ),
	Fit Special( Intercept( int2 ), Slope( 1 ), {Line Color( "Purple" )} ));
	rbiv = biv &amp;lt;&amp;lt; Report;
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; {Marker Size( 3 )};
	rbiv[axisbox( 2 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt; Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[axisbox( 1 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt; Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; Row Legend( Column( "Sex" ), Color( 1 ), Marker( 0 ), Color Theme( "JMP Default" ), Continuous Scale( 0 ) );
	rbiv[Outline Box( 3 )] &amp;lt;&amp;lt; Close All Below;
);

colnamex = {"name1", "age1"};
colname = {"name2", "age2"};
int1 = {1.5, 2};
int2 ={-1.5, -2};

lapbiv = Fit Group (
			For( i = 1, i &amp;lt;= N Items( colname ), i++,
				bivplot( colname[i], colnamex[i], int1[i], int2[i] )
			); 
			&amp;lt;&amp;lt;{Arrange in Rows( 4 )}
			SendToReport(Dispatch({},"Fit Group", OutlineBox,{Set Title( "Correlation Plot (All)")}))	
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:53:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533175#M75603</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2023-06-10T23:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533193#M75605</link>
      <description>&lt;P&gt;There are a couple of issues.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The Bivariate platform requires 2 numeric columns.&amp;nbsp; You are specifying a Name column which I assume is a character column.&lt;/LI&gt;
&lt;LI&gt;The &amp;lt;&amp;lt;[Arrange in rows(4)} and SendToReport are not syntactically correct to be passed to the Display after the platform is completed.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The following code works with the Big Class data table&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bivplot = Function( {x_param, y_param, int1, int2 },
	biv = Bivariate( X( Column( x_param ) ), Y( Column( y_param ) ), 
	Fit Line( {Confid Curves Indiv( 0 ), Line Color( "Black" )} ),
	Fit Special( Intercept( int1 ), Slope( 1 ), {Line Color( "Purple" )} ),
	Fit Special( Intercept( int2 ), Slope( 1 ), {Line Color( "Purple" )} ));
	rbiv = biv &amp;lt;&amp;lt; Report;
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; {Marker Size( 3 )};
	rbiv[axisbox( 2 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt; Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[axisbox( 1 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt; Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; Row Legend( Column( "Sex" ), Color( 1 ), Marker( 0 ), Color Theme( "JMP Default" ), Continuous Scale( 0 ) );
	rbiv[Outline Box( 3 )] &amp;lt;&amp;lt; Close All Below;
);

colnamex = {"height", "weight"};
colname = {"weight", "height"};
int1 = {1.5, 2};
int2 ={-1.5, -2};

lapbiv = Fit Group (
			For( i = 1, i &amp;lt;= N Items( colname ), i++,
				bivplot( colname[i], colnamex[i], int1[i], int2[i] )
			); 
			//&amp;lt;&amp;lt;{Arrange in Rows( 4 )}
			//SendToReport(Dispatch({},"Fit Group", OutlineBox,{Set Title( "Correlation Plot (All)")}))	
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Aug 2022 04:12:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533193#M75605</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-08-12T04:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533200#M75606</link>
      <description>&lt;P&gt;Hi txnelson, thank you. May I know how can I arrange the plots into 4 rows if&amp;nbsp;&amp;lt;&amp;lt;[Arrange in rows(4)} and SendToReport are not syntactically correct?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 05:59:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533200#M75606</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2022-08-12T05:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533264#M75616</link>
      <description>&lt;P&gt;Below is a working version of your script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bivplot = Function( {x_param, y_param, int1, int2},
	biv = Bivariate(
		X( Column( x_param ) ),
		Y( Column( y_param ) ),
		Fit Line( {Confid Curves Indiv( 0 ), Line Color( "Black" )} ),
		Fit Special( Intercept( int1 ), Slope( 1 ), {Line Color( "Purple" )} ),
		Fit Special( Intercept( int2 ), Slope( 1 ), {Line Color( "Purple" )} )
	);
	rbiv = biv &amp;lt;&amp;lt; Report;
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; {Marker Size( 3 )};
	rbiv[axisbox( 2 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt;
	Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[axisbox( 1 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt;
	Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; Row Legend(
		Column( "Sex" ),
		Color( 1 ),
		Marker( 0 ),
		Color Theme( "JMP Default" ),
		Continuous Scale( 0 )
	);
	rbiv[Outline Box( 3 )] &amp;lt;&amp;lt; Close All Below;
);

colnamex = {"height", "weight"};
colname = {"weight", "height"};
int1 = {1.5, 2};
int2 = {-1.5, -2};

lapbiv = Fit Group(
	For( i = 1, i &amp;lt;= N Items( colname ), i++,
		bivplot( colname[i], colnamex[i], int1[i], int2[i] )
	)
);
lapbiv &amp;lt;&amp;lt; Arrange in Rows( 4 );
Report( lapbiv )[Outline Box( 1 )] &amp;lt;&amp;lt; Set Title( "Correlation Plot (All)" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Aug 2022 11:05:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/533264#M75616</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-08-12T11:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534548#M75713</link>
      <description>&lt;P&gt;It now works well, thank you.&lt;/P&gt;&lt;P&gt;But I have an additional question, why is it that when I try to add Group By (:Sex), it is prompting an error&lt;BR /&gt;Name Unresolved: Framebox in access or evaluation of 'Framebox' , Framebox( 1 ) /*###*/Exception in platform launch in access or evaluation of 'Fit Group'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bivplot = Function( {x_param, y_param, int1, int2},
	biv = Bivariate(
		X( Column( x_param ) ),
		Y( Column( y_param ) ),
        Group By (:Sex),
		Fit Line( {Confid Curves Indiv( 0 ), Line Color( "Black" )} ),
		Fit Special( Intercept( int1 ), Slope( 1 ), {Line Color( "Purple" )} ),
		Fit Special( Intercept( int2 ), Slope( 1 ), {Line Color( "Purple" )} )
	);
	rbiv = biv &amp;lt;&amp;lt; Report;
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; {Marker Size( 3 )};
	rbiv[axisbox( 2 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt;
	Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[axisbox( 1 )] &amp;lt;&amp;lt; Tick Font( style( 1 ), size( 9 ) ) &amp;lt;&amp;lt; Show Major Grid( 1 ) &amp;lt;&amp;lt;
	Show Minor Grid( 1 ) &amp;lt;&amp;lt; Show Minor Ticks( 1 );
	rbiv[Framebox( 1 )] &amp;lt;&amp;lt; Row Legend(
		Column( "Sex" ),
		Color( 1 ),
		Marker( 0 ),
		Color Theme( "JMP Default" ),
		Continuous Scale( 0 )
	);
	rbiv[Outline Box( 3 )] &amp;lt;&amp;lt; Close All Below;
);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 03:35:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534548#M75713</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2022-08-17T03:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534549#M75714</link>
      <description>&lt;P&gt;When you have a By() element in Bivariate, a separate Display Tree is created for each By variable level.&amp;nbsp; The referencing of an object below a specific level in the By variable(s), needs to be specified.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rbiv = report( biv[2] );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Below is a simple example, deleting the whole report for the second level of the By variable Sex&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "/C:/Program Files/SAS/JMPPRO/15/Samples/Data/Big Class.jmp" );

biv = bivariate( x( :height ), y( :weight ), by( :sex ) );
Show( biv );
Report( biv[2] )[Outline Box( 1 )] &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 03:49:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534549#M75714</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-08-17T03:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Framebox and other properties</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534627#M75718</link>
      <description>&lt;P&gt;I see. Thank you for the clear explanation&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 08:15:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Framebox-and-other-properties/m-p/534627#M75718</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2022-08-17T08:15:14Z</dc:date>
    </item>
  </channel>
</rss>

