Data visualization with SAS programming

layout is not supported in the RTF destination?

Reply
Frequent Contributor
Posts: 76

layout is not supported in the RTF destination?

Hi All,

 

I want to output a rtf file with multiple figures, but I just know how to stack multiple graphs vertically on the same page, is that possible to have 2 columns in one page in rtf? I use layout, but the log shows layout is not supported in RTF destination. Below is my code:

 

options nodate nonumber;
ods _all_ close;
ods rtf file = 'figures.rtf' startpage = no image_dpi = 300;
ods layout gridded columns = 2;
ods graphics / reset = all outputfmt = png height = 3in width = 4in;

proc univariate data=combine_1;
var var_1;
class Group;
histogram var_1 / midpoints = (0 to 100 by 5)
nrow = 3 odstitle = "VAR"
normal (color = red) kernel
cfill = ltgray ctext = blue
nohlabel
vscale = percent;
inset N = 'N' MEDIAN (8.2) MEAN (8.2) STD = 'Standard Deviation'(8.3) / position = ne;
ods select histogram;
run;

title 'var_1';
proc boxplot data = combine_1;
plot var_1*group /
nohlabel;
label var_1 = 'VAR';
*inset min max / pos = topoff;
insetgroup min (5.2) max (5.2) mean (5.2) stddev (5.2) / header = 'Stats by VAR';
run;
ods _all_ close;
ods preferences;

 

Thanks,

C

Ask a Question
Discussion stats
  • 0 replies
  • 275 views
  • 0 likes
  • 1 in conversation