全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1555 1
2015-11-30
各位大牛,我想请问用如何设定SG中text在图中的显示?我本来想显示成两行:第一行是probability ,第二行是RSMCR>AVERAGE,但实现不了,请问怎么设定啊?下面是我写的SG数据集和最后出的图。

data anno;
length textweight $ 50 y1space $ 12 label $ 35 function $20;
set hlm (keep=unit pro_over_average);
rename unit=yc1;
retain y1space "datavalue" x1space "graphpercent" x1 85 function "text" y1 .
textcolor "black" textweight "normal";
label=put(pro_over_average, F5.3);
run;
data headers1;
length textweight $ 50 function $20;
length  label $35;
retain y1space "graphpercent" x1space "graphpercent" function "text" y1 92
textcolor "black" textweight "bold"  x1 85 label "Prob";
output;
run;

data headers2;
length textweight $ 50 function $20;
length  label $35;
retain y1space "graphpercent" x1space "graphpercent" function "textcont" y1 91
textcolor "black" textweight "bold"  x1 85 label "RSMCR>AVERAGE";
output;
run;

proc append  base=anno(drop=pro_over_average) data=headers2  force nowarn;
run;

proc append  base=anno(drop=pro_over_average) data=headers1  force nowarn;
run;



SGPlot11.PNG

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2015-12-1 12:23:15
没有人知道么???
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群