大家好,我有一部分我在下面創建的JSL腳本:
x = "DID";<BR /><BR />colNames = dt << Get Column Names( Numeric, "Continuous" );<BR />nc = N Items( colNames );<BR /><BR />For( i = 1, i <= nc, i++,
y = colNames[i];
If( doNotTouchThisVariable == 0,<BR /> dt << Oneway(<BR /> Y( y ),
X( :column( x ) ),
Plot Actual by Quantile( 1 ),
Line of Fit( 0 ),
Points Jittered( 1 ),
SendToReport(<BR /> Dispatch(
{},
"1",
ScaleBox,
{Add Ref Line( {SV, 1000000}, "Solid", "Light Red", "", 1, 0.25 ),
Add Ref Line( SV, "Solid", "Medium Light Red", "", 1 )}
)
)
) <BR /> );
If( doNotTouchThisVariable == 1,<BR /> dt << Oneway(<BR /> Y( y ),
X( :column( x ) ),
Plot Actual by Quantile( 1 ),
Line of Fit( 0 ),
Points Jittered( 1 ),
SendToReport(<BR /> Dispatch(
{},
"1",
ScaleBox,
{Add Ref Line( {-1000000, SV}, "Solid", "Light Red", "", 1, 0.25 ),
Add Ref Line( SV, "Solid", "Medium Light Red", "", 1 )}
)
)
) <BR /> ); <BR /> //probably include concatenation of different graph-plotted windows here (vertically)
);有些代碼包含變量: doNotTouchThisVariable 我認為在這種情況下並沒有那麼有用,並決定將其排除在外,但基本上,這個變量是用於的條件 SV ,另一個用於圖形著色的變量。
這裡重要的是,我如何在評論中實際連接不同的圖形繪製窗口 //可能包括不同圖形繪製窗口的連接(垂直) ?這意味著,一旦我運行腳本,將只會彈出不同的圖形繪製窗口的1個連接窗口,而不會分別出現多個單獨的圖形繪製窗口。這是基於數據表中列數的不確定性dt。
任何意見將不勝感激。謝謝。