刪除控製圖軸標籤我有一個腳本可以導入數據然後處理數據並製作控製圖。 我為之編寫的人不想要沿 x 軸的標籤或刻度線。 我使用控製圖生成器構建了控製圖,並刪除了 x 軸標籤和刻度線,但是當我運行腳本時,它會將它們放回去。當腳本運行時,我在控製圖生成器中所做的所有其他事情都會被複製。 有沒有辦法來解決這個問題? 這是我的腳本中與控製圖相關的部分:
Control Chart Builder(
Size( 534, 440 ),
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Show Capability( 0 ),
Variables( Y( :Name( "0.5 Micron Particulate (part/m3)" ) ) ),
Chart( Points( Statistic( "Individual" ) ), Limits( Sigma ) ),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
OutlineBox,
{Set Title( "IR Control Chart" )}
),
Dispatch(
{},
"0.5 Micron Particulate (part",
ScaleBox,
{Min( 0 ), Max( 400000 ), Inc( 50000 ), Minor Ticks( 0 ),
Add Ref Line( 125000, "Dashed", "Purple", "125000", 1 ),
Add Ref Line( 352000, "DashDotDot", "Cyan", "352000", 1 )}
),
Dispatch(
{},
"graph display 1 title",
TextEditBox,
{Set Text(
char(RM[r]) ||" 0.5 Micron Particulate (part/m3) "|| char(As Date(:Date[1]))|| " - " || char(As Date(:Date[NRows()]))
)}
)
)
);回复:刪除控製圖軸標籤感謝您的幫助! 我把它放在我的腳本中並且效果很好!
回复:刪除控製圖軸標籤此腳本通過刪除 X 軸框來處理此問題
ccb=Control Chart Builder(
Size( 534, 440 ),
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Show Capability( 0 ),
Variables( Y( :Name( "0.5 Micron Particulate (part/m3)" ) ) ),
Chart( Points( Statistic( "Individual" ) ), Limits( Sigma ) ),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
OutlineBox,
{Set Title( "IR Control Chart" )}
),
Dispatch(
{},
"0.5 Micron Particulate (part",
ScaleBox,
{Min( 0 ), Max( 400000 ), Inc( 50000 ), Minor Ticks( 0 ),
Add Ref Line( 125000, "Dashed", "Purple", "125000", 1 ),
Add Ref Line( 352000, "DashDotDot", "Cyan", "352000", 1 )}
),
Dispatch(
{},
"graph display 1 title",
TextEditBox,
{Set Text(
char(RM[r]) ||" 0.5 Micron Particulate (part/m3) "|| char(As Date(:Date[1]))|| " - " || char(As Date(:Date[NRows()]))
)}
)
)
);
report(ccb)[AxisBox(1)]<<DELETE></DELETE>