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.
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.
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!
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.