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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.