If you are using ODS RTF, the default output type is EMF. Let's take EMF out of equation. Add this statement before your PROC SGPLOT run;
ODS GRAPHICS / outputfmt=png;
Let me know if that works better.
Man you are a hero thanks thanks thanks a lot I tried a lot of ways but nothing, you are the best.
This is the start and the end
ods listing close;
options source notes orientation=landscape;
ods escapechar="!" ;
ods &OUT. file="&outp.\&ta..&OUTT" style=&STY. nogtitle nogfootnote;
ods graphics / reset height = 4.5in width = 9.5in border=off;
**********Above Code****************
ods graphics off;
ods rtf close;
ods listing;
As a matter of practice, you might want to change:
ods rtf close;
to be:
ods _all_ close;
so that when &OUT. changes, you are guaranteed to close the destination.
Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.
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.
Ready to level-up your skills? Choose your own adventure.