BookmarkSubscribeRSS Feed
data_null__
Jade | Level 19

Can I create output from PROC REPORT as an image (PNG).  I want to annotate a figure (SGPLOT) with a small table of statistics, using IMAGE function seems like an easy way, but I also don't want to create the image file by hand.  I don't think INSET or AXISTABLE are suitable that's why I think IMAGE would be nice.

 

2 REPLIES 2
djrisks
Barite | Level 11

i,

Hi, looking at old SAS community posts, I do not believe that is possible. However, I believe that you could use the XAXISTABLE and YAXISTABLE statements in SGPLOT to produce the report that you want. If you have an example, I could help. You said that you will annotate in SGPLOT too, so it could be better to start from there aswell.

Otherwise, you could take a snippet or screenshot of the report and then save that, and then use that image with SGPLOT.

JeffMeyers
Barite | Level 11
I believe if you put your proc report into the ods printer destination you can save the output to a png. Use options papersize as well to help control the size.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1055 views
  • 0 likes
  • 3 in conversation