Appreciate if you advise the following two questions:
(1). In the following of Bivariate plot, the line By(eval(bylist[2])), didn't work;
how to go around by uisng dynamic variables?
(2). I used lines: r=obj<<report; r[outlinebox(3)]<<close all like this;
To minimized the outlinebox, is there way to remove them from the plots, so the Bivariate plot only showed plots without other outlineboxes.
Thanks.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
xy_list = {"weight","height"};
bylist={"sex","age"};
groupbylist={"sex"};
obj=dt << Fit Group(Bivariate(
Y(Eval(xy_list[2] )),
X(Eval(xy_list[1])),
By(eval(bylist[2])); // this line didn't work, has to use By(:age);
Group by(eval (bylist)),
Fit Spline(0.1,Standardized, {Line Width(3)}),
Std Dev Chart(0 ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,{Framesize( 200, 200 ),YAxis( Show Major Grid ),
Row Legend(:sex,Color(1), Color Theme("JMP Default"),Marker(0), Marker Theme(""),
Continuous Scale(0), Reverse Scale(0), Excluded Rows(0))})
),Show Points( 1 )
),<<{Arrange in Rows(4)},);
r=obj<<report;
r[outlinebox(3)]<<close all like this;