PROC SGPLOT Procedure

基本图

SCATTER  X=variable Y=variable </option(s)>; 
SERIES   X=variable Y=variable </option(s)>; 
STEP     X=variable Y=variable </option(s)>; 
BAND     X=variable Y=variable UPPER= numeric-value  | numeric-variable LOWER= numeric-value  |  numeric-variable </option(s)>; 
NEEDLE   X=variable Y=numeric-variable </option(s)>; 
VECTOR   X=numeric-variable Y=numeric-variable </option(s)>; 

拟合图

LOESS    X=numeric-variable Y=numeric-variable </option(s)>; 
REG      X=numeric-variable Y=numeric-variable </option(s)>; 
PBSPLINE X=numeric-variable Y=numeric-variable </option(s)>; 
ELLIPSE  X=numeric-variable Y=numeric-variable </option(s)>; 

分布图

HBOX      analysis-variable </option(s)>;
VBOX      analysis-variable </option(s)>;
HISTOGRAM response-variable </option(s)>; 
DENSITY   response-variable </option(s)>; 

分类图

DOT   category-variable </option(s)> ; 
HBAR  category-variable </option(s)>;
VBAR  category-variable </option(s)>; 
HLINE category-variable </option(s)>;
VLINE category-variable </option(s)>;
HBARPARM  CATEGORY= category-variable RESPONSE=numeric-variable </option(s)>;
VBARPARM  CATEGORY= category-variable RESPONSE=numeric-variable </option(s)>;
WATERFALL CATEGORY= category-variable RESPONSE=numeric-variable </option(s)>; 
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容