我正在通过 SAS 制作热图。我想将参考参考线(水平和垂直)添加到将其分成象限的热图中。我的代码现在看起来像这样:
proc template;
define statgraph heatmapparm;
begingraph;
layout overlay;
heatmapparm x=X_Value y=Y_Value colorresponse=percent / colormodel=(blue yellow red)
name="heatmapparm" xbinaxis=false ybinaxis=false datatransparency=0;
continuouslegend "heatmapparm" / location=outside valign=bottom;
endlayout;
endgraph;
end;
run;
proc sgrender data=Data template=heatmapparm;
run;
这绘制了 X 和 Y 变量的热图,但我想添加交叉线来标记图表的中间。谢谢!!