<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 个图表和数百万个数据点执行此操作。
