导航

SAS PROC FREQ 生成图片示例

Posted on 2020-06-12 09:38  高山老王  阅读(458)  评论(0编辑  收藏  举报

OPTIONS PS=MAX LS=MAX COMPRESS=YES NOCENTER;

LIBNAME OUT_F '.';

**ods graphics on/IMAGENAME='B36002_FD_6.PNG';
proc freq DATA=OUT_F.FINAL;
    ods graphics on/IMAGENAME='B36002_FD_6.PNG';
   tables B36002_FD_6/plots=freqplot;
    ods graphics on/IMAGENAME='B00503.PNG';
   tables B00503/plots=freqplot;
    ods graphics on/IMAGENAME='B01602.PNG';
   tables B01602/plots=freqplot;
    ods graphics on/IMAGENAME='B01603.PNG';
   tables B01603/plots=freqplot;
    ods graphics on/IMAGENAME='B01605.PNG';
   tables B01605/plots=freqplot;
    ods graphics on/IMAGENAME='B01606.PNG';
   tables B01606/plots=freqplot;

run;
ods graphics off;