I want to create graphics in SAS/IML using sgplot in a submit/endsubmit block. my ODS GRAPHICS statement and additional SGPLOT statements are:
submit table_title ;
ods graphics on / border=on height=8in ;
title &TABLE_TITLE ;
proc sgplot data=subset_data ;
series x=Index y="Fuzzy Entropy"n / datalabel="Variable Name"n datalabelpos=top markers ;
xaxis label='Index' ;
yaxis label='Fuzzy Entropy' ;
run ;
ods graphics off ;
endsubmit ;
When I run the code, the SGPLOT statements execute correctly but the graph created is not 8 inches high. What am I doing wrong? Or do I need to add ODS LISTING statements such as:
ods listing gpath='/home/rsbettinger/FuzzyFeatSel' IMAGE_DPI=300 style=journal;
ods graphics/ outputfmt=pdf ;
ods graphics on / height=8in;
to get the results that I want, e.g., an elongated y-axis that will stretch out the space required to display the labels in the datalabel variable?