其他分享
首页 > 其他分享> > GTL _first start

GTL _first start

作者:互联网

COLUMNDATARANGE = : 设置X轴的刻度尺度,是基于各自的cell,还是各自的column,还是所有的column

ROWDATARANGE = 

COLUMNWEIGHTS = ROWWEIGHTS = 

COLUMNGUTTER = ROWGUTTER = 

COLUMNAXES COLUMN2AXES ROWAXES ROW2AXES 在COLUMNDATARANGE = union/unionall的时候,设置显示一个共用的X|Y轴。

j

ods html;
ods listing image_dpi = 300;
ods graphics / reset noborder width = 9in height = 5.5in;



proc template;
define statgraph dist5;
    begingraph;
    title 'title1';
        entrytitle 'title';
        entryfootnote halign = left 'footnote' ;
    layout lattice / rows = 2 columns = 1 columndatarange = union rowweights = (0.8 0.2) ;
    columnaxes;
        columnaxis / display = (ticks tickvalues label) label = "aa";
    endcolumnaxes;
        layout overlay /*/ xaxisopts = (display = (ticks tickvalues label) label = "aa")*/;
            entry 'entry';
            histogram mpg_city / binaxis = false;
            densityplot mpg_city /  name = "a";
            densityplot mpg_city / kernel() lineattrs = graphfit2 name = "b";
            discretelegend "a" "b" / location = outside across = 1 halign = right valign = top;
        endlayout;

        layout overlay;
            boxplot y = mpg_city / orient = horizontal;
        endlayout;
    endlayout;
    endgraph;
end;
run;

proc sgrender data = sashelp.cars template = dist5;
    where type ne "Hybird";
run;

ods _all_ close;

 

标签:mpg,layout,city,endlayout,ods,GTL,label,start,first
来源: https://www.cnblogs.com/Python-T/p/15367099.html