你好,
我有從多個變量創建的控製圖,但是我想更改軸標題以使它們匹配。 有沒有一種快速的方法可以做到這一點而無需手動更改它們。 我嘗試在執行此操作時按住 ctrl,但是由於某種原因,這似乎會更改 x 軸標題,有什麼想法嗎,謝謝?
你好@Mo_Hoque_95 ,
Brady 可能有一種簡單的方法可以做到這一點,但我知道如何輕鬆做到這一點的唯一方法是使用腳本,特別是如果您有很多控製圖。 您沒有提到您是否使用舊版控製圖 UI、控製圖生成器 UI 或其他工具來創建控製圖。 下面,此腳本打開 JMP 示例數據表,創建舊控製圖,然後自定義所有 x 軸標籤。 //======== 對 JSL 進行分段。第二個示例使用控製圖生成器 UI。
祝你好運! 我希望有一個簡單的替代方法。
Names Default to Here(1);
dt =Open("$Sample_Data/Quality Control/Steam Turbine Historical.jmp");
//==========JMP 14 Legacy Control Charts ==================================
// Saved the script of my control chart window to a script window
// Assigned the Control Chart report to cc using cc=
cc = Control Chart(
Group Size( 1 ),
KSigma( 3 ),
Chart Col( :Fuel, Individual Measurement ),
Chart Col( :Steam Flow, Individual Measurement ),
Chart Col( :Steam Temp, Individual Measurement ),
Chart Col( :MW, Individual Measurement ),
Chart Col( :Cool Temp, Individual Measurement ),
Chart Col( :Pressure, Individual Measurement )
);
//xpath creates a list of references to each box. Note the X or sequence
// AxisBox might have a different ID depending upon your use: Legacy Control Chart or Control Chart Builder
axx = cc << xpath("//AxisBox[@charID='1']/TextEditBox");
//now send a few customizing messages to all these axes
axx << {Set Font Size( 12 ), Set Font Style( "Bold" ), Font Color( 19 ),
Set Text( " Samples May 24 - Jun20" )};
//================== JMP 14 Using Control Chart Builder===============================================================
//JMP 15 and later versions have a better structure for X axis labels, I find the graph structure strange in v14
ccb14 = Control Chart Builder(
Show Capability( 0 ),
Variables( Y( :Fuel, :Steam Flow, :Steam Temp, :MW, :Cool Temp, :Pressure ) ),
Chart( Position( 1 ), Limits( Sigma( "Moving Range" ) ) ),
Chart( Position( 2 ), Limits( Sigma( "Moving Range" ) ) )
);
axxb14= ccb14 << xpath("//GraphBuilderTitleBox/TextEditBox");
//Every 3rd GraphTitleBox is the Xaxis or Subgroup axis
For(i=3, i<=nitems(axxb14), i=i+5,
axxb14[i]<< {Set Font Size( 12 ), Set Font Style( "Bold" ), Font Color( 19 ),
Set Text( " Samples May 24 - Jun20" )};
);
//========================JMP 15========================================================
/*
//It's my opinion, JMP 15 has better structure references , AxisBox for Subgroup
//this code is commented out since you are working with JMP14
ccb15 = Control Chart Builder(
Variables Y( :Fuel, :Steam Flow, :Steam Temp, :MW, :Cool Temp, :Pressure ) );
axxb15= ccb15 << xpath("//AxisBox['Subgroup']/TextEditBox");
axxb15 << {Set Font Size( 12 ), Set Font Style( "Bold" ), Font Color( 19 ),
Set Text( " Samples May 24 - Jun20" )};
您能否附上示例表以及示例控製圖報告的已保存腳本? 這將幫助我們了解您的具體情況。 另外,請告訴我們“標題”的含義,因為我們可以將不止一個位置解釋為標題。
乾杯,
布雷迪