SAS中文论坛
标题:
SAS作图,然后输出到word中产生的问题
[打印本页]
作者:
shiyiming
时间:
2010-11-1 11:17
标题:
SAS作图,然后输出到word中产生的问题
goptions reset=all ;
title "图7.4.2.1 疗效指标";
axis1 label=('Visits');
axis2 label=('Test Value');
legend1 label=none value=(j=left 'total' j=left 'TB subgroup1' j=left 'TB subgroup2' j=left 'TB subgroup3')
mode=protect position=(top inside right) cborder=black ;
proc gplot data=sum1;
plot mean0*time=1 mean1*time=2 mean2*time=3 mean3*time=4/haxis=axis1 vaxis=axis2 overlay legend=legend1;
symbol1 v=dot i=join c=red line=1 w=4 ;
symbol2 v=square i=join c=black line=2 w=2 ;
symbol3 v=square i=join c=blue line=3 w=2;
symbol4 v=square i=join c=gray line=4 w=2;
run;
我以以上程序作图,然后输出到word中,但是title里中文字,在word中没办法显示出来,是乱码,这个应该怎么解决?
麻烦各位帮忙一下
作者:
shiyiming
时间:
2010-11-6 19:59
标题:
Re: SAS作图,然后输出到word中产生的问题
如果是SAS9存储过程程序的话,可以在%stpbegin之前加入如下代码:
%let _ODSOPTIONS=%str(charset='GBK');
如果是用的ods xxx语句的话,ods这段语句中加入metatext='GBK'
欢迎光临 SAS中文论坛 (https://mysas.net/forum/)
Powered by Discuz! X3.2