謝謝
但如果它有很多值,我怎麼能把很多值放到表中一次呢?
@txnelson 中寫道:
使用本地數據過濾器,不允許您為不同的選擇使用不同的參考線。 下面的腳本使用列屬性,規範限制,為2個變量,數據A和數據B設置規範限制。然後使用列切換器獲得所需的效果。


Names Default to Here(1);
New Table( "Sample",
Add Rows( 4 ),
New Column( "Data A",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Property( "Spec Limits", {LSL( 11.5 ), USL( 13.5 ), Show Limits( 1 )} ),
Set Values( [12, 12, 12, 13] )
),
New Column( "Data B",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Property( "Spec Limits", {LSL( 13.5 ), USL( 16.5 ), Show Limits( 1 )} ),
Set Selected,
Set Values( [16, 13, 14, .] )
)
);
Graph Builder(
Size( 534, 418 ),
Show Control Panel( 0 ),
Variables( Y( :Data B ) ),
Elements( Points( Y, Legend( 2 ) ) ),
Column Switcher( :Data B, {:Data A, :Data B} )
);
使用本地數據過濾器,不允許您為不同的選擇使用不同的參考線。 下面的腳本使用列屬性,規範限制,為2個變量,數據A和數據B設置規範限制。然後使用列切換器獲得所需的效果。


Names Default to Here(1);
New Table( "Sample",
Add Rows( 4 ),
New Column( "Data A",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Property( "Spec Limits", {LSL( 11.5 ), USL( 13.5 ), Show Limits( 1 )} ),
Set Values( [12, 12, 12, 13] )
),
New Column( "Data B",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Property( "Spec Limits", {LSL( 13.5 ), USL( 16.5 ), Show Limits( 1 )} ),
Set Selected,
Set Values( [16, 13, 14, .] )
)
);
Graph Builder(
Size( 534, 418 ),
Show Control Panel( 0 ),
Variables( Y( :Data B ) ),
Elements( Points( Y, Legend( 2 ) ) ),
Column Switcher( :Data B, {:Data A, :Data B} )
);