Data visualization with SAS programming

Problem of device 'SASEMF' for COMPLEX font on DOS RTF in SAS 9.3

Reply
Contributor
Posts: 20

Problem of device 'SASEMF' for COMPLEX font on DOS RTF in SAS 9.3

[ Edited ]

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.

 Untitled1.png

 

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;



 

PROC Star
Posts: 1,672

Re: Problem of device 'SASEMF' for COMPLEX font on DOS RTF in SAS 9.3

Best to contact tech support for this one. This is what I get using 9.4:

Capture.PNG

Ask a Question
Discussion stats
  • 1 reply
  • 91 views
  • 0 likes
  • 2 in conversation