如何從圖表中刪除不需要的輪廓框你好
我想刪除不需要的(或我不想要的)大綱框。
關注這篇文章https://community.jmp.com/t5/Discussions/How-to-show-fit-line-graphs-in-a-single-report-without-the/td-p/46302
我們可以刪除所有的框。 但我只想保留“線性擬合站點 == 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;
*/