I Recently got a project needs SAS 9.3 to generate figure with font COMPLEX font. The output is RTF with SASEMF graph. goptions device=sasemf works fine in SAS 9.2, but the re-solution of plot is terrible in SAS 9.3 as below.
It seemed that COMPELX font was not suppoted well by SASEMF in SAS 9.3. What it is the best way to use SASEMF with COMPLEX font in SAS9.3. I know this is an old version issue. But I still hope I could get some clues about this. Thank you.
Below is the code I used for this test
ods graphics off;
ods _all_ close;
ods listing;
proc sort data=sashelp.class out=class;
by sex; run;
title;
footnote;
options orientation=portrait;
goptions reset=all device=sasemf xmax=6in ymax=4in htext=1 ftext=complex ftitle=complex noborder;
symbol1 c=red v=circle i=none;
symbol2 c=blue v=square i=none;
proc gplot data=class;
plot weight*height=sex;
run;
title;
footnote;
quit;
goptions reset=all device=sasemf htext=1 ftext=complex ftitle=complex noborder ymax=4in xmax=6in;
ods rtf file=".\test1.rtf" nogfootnote nogtitle;
title1 'THIS IS TEST';
proc greplay igout=WORK.gseg gout=WORK.mtemp tc=WORK.tmplt template=sid1 nofs;
tdef sid1 des='Side 1'
1/llx=0 lly=0 ulx=0 uly=100
urx=100 ury=100 lrx=100 lry=0 color=white;
template sid1;
treplay 1:gplot;
run;
quit;
ods rtf close;
title;
footnote;
Best to contact tech support for this one. This is what I get using 9.4:
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.