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.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.