大家好!
最近,當我使用疊加函數(在圖形構建器中)時,我一直在努力在條形圖上設置標準偏差區間。腳本附在下面。但是,當我使用“顏色”函數時,我可以插入我的標準錯誤區間。有誰知道為什麼會這樣?任何輸入將不勝感激:)
Graph Builder(
Variables(
X( :Condition ),
Y( :VCaP % Recovery From Day 0 Avg ),
Overlay( :Condition )
),
Elements(
Bar(
X,
Y,
Legend( 8 ),
Error Interval( "Standard Deviation" ),
Label( "Label by Value" )
),
Caption Box( X, Y, Legend( 9 ), Summary Statistic( "N" ) )
),
SendToReport(
Dispatch(
{},
"VCaP % Recovery From Day 0 Avg",
ScaleBox,
{Min( 0.184582944951971 ), Max( 1.68175572067351 ), Inc( 0.2 ),
Minor Ticks( 1 ), Add Ref Line( 1.25, "Dashed", "Black", "125%", 1 ),
Add Ref Line( 0.7, "Dashed", "Black", "70%", 1 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
8,
Properties( 0, {Fill Color( 10 )}, Item ID( "Standard", 1 ) ),
Properties( 1, {Fill Color( 24 )}, Item ID( "Upside-down", 1 ) ),
Properties( -1, {Fill Color( 10 )}, Item ID( "Mean", 1 ) ),
Properties( -1, {Fill Color( 24 )}, Item ID( "Test", 1 ) )
)}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Mean VCaP % Recovery on Day 8" )}
),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "VCaP % Recovery" )} )
)
)