如何删除图形中不需要的轮廓框你好
我想删除不需要(或者我不想拥有)的大纲框。
关注这篇文章https://community.jmp.com/t5/Discussions/How-to-show-fit-line-graphs-in-a-single-report-without-the/td-p/46302
我们可以删除所有的框。 但我只想保留“Linear Fit Site == 1”和等式

所以我试过了
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
biv = Bivariate(
Y( :NPN1 ),
X( :PNP1 ),
Fit Where( :SITE == 1, Fit Line( {Line Color( {213, 72, 87} )} ) ));
biv[Outline Box(3)] << Delete;
biv[Outline Box(4)] << Delete;
biv[Outline Box(5)] << Delete;但是那些盒子仍然在那里。 我需要的预期输出

回复:如何删除图形中不需要的轮廓框还可以考虑使用 <<
Report(biv)[Outline Box(3)] << Visibility("collapse");“折叠”将隐藏框并移除它在报告中使用的空间,而不删除框。 两个优点:(1) 显示框编号不会改变,(2) 某些平台可能会因删除它们所依赖的某些显示框而感到困惑。
我喜欢吉姆结合可见性的最后一个例子:
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
biv = Bivariate(
Y( :NPN1 ),
X( :PNP1 ),
Fit Where( :SITE == 1, Fit Line( {Line Color( {213, 72, 87} )} ) ));
Report(biv)["Summary of Fit"] << Visibility("collapse");
Report(biv)["Analysis of Variance"] << Visibility("collapse");
Report(biv)["Parameter Estimates"] << Visibility("collapse");它向以后需要理解或维护它的任何人解释。
回复:如何删除图形中不需要的轮廓框请参阅下面我带注释的 JSL
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
biv = Bivariate(
Y( :NPN1 ),
X( :PNP1 ),
Fit Where( :SITE == 1, Fit Line( {Line Color( {213, 72, 87} )} ) ));
// When you are modifying the output from a Platform
// one needs to access the report
// Additionally, you need to delete the outline boxes either in
// reverse order as below, since the Butline Box nomenclature
// will change after the deletion of a box. That is, if you delete
// Outline Box(3) first, once it is deleted, what was Outline Box(4)
// will now be the 3rd Outline Box etc.
Report(biv)[Outline Box(5)] << Delete;
Report(biv)[Outline Box(4)] << Delete;
Report(biv)[Outline Box(3)] << Delete;
/*
// To illustrate this, you can actually eliminate the 3 Outline Boxes
// with the code below
Report(biv)[Outline Box(3)] << Delete;
Report(biv)[Outline Box(3)] << Delete;
Report(biv)[Outline Box(3)] << Delete;
// and an alternative method would be to use direct references
Report(biv)["Summary of Fit"] << Delete;
Report(biv)["Analysis of Variance"] << Delete;
Report(biv)["Parameter Estimates"] << Delete;
*/