BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASUserMD
Obsidian | Level 7

Hello,

 

I having a problem creating figures with ODS RTF since SAS 9.4. I used the following code to create a RTF-File.

 

ODS RTF style=styles.rtf; 

proc sgplot data=sashelp.enso noautolegend;
   title 'Atmospheric Pressure Differences between '
         'Easter Island and Darwin, Australia';
   pbspline y=pressure x=year;
run;

ods rtf close;

If I call this document, I have the following problems:

1. When zooming, the upper and left frames disappear (even without zoom, these upper and left frames look thinner)

2. When printing the RTF document, the top and left frames are missing. See also attached PDF (using print option in Word)

 

This problem first occurs under SAS 9.4. When I look at old RTF docs under SAS 9.2, all frames are complete. Could someone help me with this problem? Thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions
SASUserMD
Obsidian | Level 7

I found a solution. No idea how it works, but it works:

 

ods graphics / reset imagefmt=png;

View solution in original post

1 REPLY 1
SASUserMD
Obsidian | Level 7

I found a solution. No idea how it works, but it works:

 

ods graphics / reset imagefmt=png;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1331 views
  • 0 likes
  • 1 in conversation