【发布时间】:2016-03-05 09:09:07
【问题描述】:
出于某种原因,在 SAS Base 9.4 和 Enterprise Guide 7.1 中编写的完全相同的代码会在质量方面产生不同的 pdf 输出。虽然它们在程序(结果窗口)中看起来都很完美,但只有 Base 输出了类似的 pdf 结果。 EG 版本大约是双倍大小,但非常模糊。
你有什么想法吗?我觉得很奇怪。
data normal (keep=x);
call streaminit(4321);
do i=1 to 2000;
x=rand("normal")*100;
output;
end;
output;
run;
title 'Distribution of Blood Pressure';
ods graphics on / border=off ;
ods pdf file="C:\....\base.pdf" notoc dpi=300;
proc sgplot data=normal;
histogram x / fillattrs=graphdata3 transparency=0.7 binstart=40 binwidth=10;
density x / lineattrs=graphdata4;
density x / type=kernel lineattrs=graphdata5;
keylegend / location=inside position=topright noborder across=2;
yaxis grid;
run;
ods pdf close;
【问题讨论】:
-
欢迎您附上屏幕截图,但请不要使用此类第三方服务发布图片 - StackOverflow 应该托管图片。
-
您还应该在问题中包含有关 EG 连接到什么的符号 - 它连接到本地安装还是服务器?
标签: graphics sas enterprise-guide