BookmarkSubscribeRSS Feed

[SAS 프로그래밍 고수 백승민] PROC SGPLOT 생성 결과 그래픽 파일 저장하기

Started ‎06-11-2020 by
Modified ‎06-11-2020 by
Views 159

통계 관련 그래픽이 새로 9.2에 생겼나보네요?

관련 내용을 찾아보니 ODS를 사용하여서 출력하는 방법이 있습니다.

ods html gpath='c:\';
ods graphics on / reset=index
                  imagefmt = jpeg
                  imagename = "back";

proc sgplot data=sashelp.heart;
  title "Cholesterol Distribution by Weight Class";
  hbox cholesterol / category=weight_status;
run;

ods graphics off ;
ods html close;

Reset=index를  생략하면 파일 이름이 자동적으로 back1 back3으로 변경이 되어서 저장이 됩니다.

Version history
Last update:
‎06-11-2020 05:15 AM
Updated by:
Contributors

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Article Labels
Article Tags