出於某種原因,使用SAS Base 9.4和Enterprise Guide 7.1編寫的完全相同的代碼在質量方面會產生不同的pdf輸出。儘管它們在程序(結果窗口)內看起來都很完美,但只有Base纔會輸出類似的PDF結果。 EG版本大概是雙倍大小,但非常模糊。SAS圖形在EG中顯示模糊,但不在Base中?
你有什麼想法嗎?我覺得很奇怪。
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應該託管圖像。 – Joe
你還應該在你的問題中包含關於EG所連接的符號 - 連接到本地安裝還是服務器? – Joe