<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />大家好!
我需要幫助,以便將 Y 軸的某些數字處的參考線、水平線直接合併到圖例中。
這是我當前的腳本
Bivariate(
Y( :Cat),
X( :Dog),
Histogram Borders( 1 ),
Where(:Recipe == "B_XX" & (:Tool == "A_XX")),
Elements( Points( X, Legend( 1 ) ) ),
SendToReport(Dispatch(
{},
"2",
ScaleBox,
{Add Ref Line( 140, Solid, "Black", "", 2 ),
Add Ref Line( 70, Solid, "Black", "", 2 ),
Add Ref Line( 90, Solid, "Black", "", 2 )}
),
Dispatch(
{},
"Bivariate Fit of Value By Date_Time",
OutlineBox,{Close( 1 ), Set Title( "dafda" )}
),
Dispatch(
{},
"1",
ScaleBox,
{Format( "y/m/d h:m:s", 10 ),
Interval( "Hour" ), Inc( 2 ), Minor Ticks( 0 ),
Tick Font( face( "Arial Unicode MS" ), size( 8 ) ), Show Major Grid( 1 ),
Rotated Labels( "Angled" )}
),
Dispatch(
{},
"Bivariate Report",
FrameBox( 2 ),
{DispatchSeg(
HistSeg( 1 ),
{Fill Color( "BlueCyan" ), Histogram Color( 13 )}
)}
),
Dispatch( {}, "Bivar Plot", FrameBox, {Frame Size( 1100, 180 )} ),
Dispatch(
{},
"Bivariate Report",
FrameBox( 4 ),
{DispatchSeg(
HistSeg( 1 ),
{Fill Color( "BlueCyan" ), Histogram Color( 13 )}
)}
),
Dispatch({},
"Bivar Plot",
FrameBox,
{Frame Size(900,274),Row Legend(Tool),Color(1),Color Theme("JMP Default"),Marker(0),Marker Theme("JMP Default"),Continous Scale(0),Reverse Scale(0),Excluded Rows(0)})
)
),)
我在腳本中的數字中插入了參考線,我需要設置不同的顏色以區分圖例中的一組線。這些將允許我傳達新線和舊線。 當前的圖例輸出工具,但我想不出一種方法來將線插入圖例,而不必在數據表中輸入具有參考行號的新列。
12-14行和53行是我需要幫助的地方。
提前感謝任何尋求幫助的人。
這就是我當前的圖表,右邊的圖例和黑色的參考線。 我需要為 100 個圖表和數百萬個數據點執行此操作。
