☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 05-17-2023 12:36 PM
(1001 views)
Hello,
I'm trying to output all panels (including all rows) from PROC SGPANEL into a single PNG file. Currently PROC SGPANEL is outputting each row as a separate png file.
Here is my Code
ods listing gpath = "C:\";
ods graphics / imagename="All Panels" imagefmt=png;
proc sgpanel data = mydata;
panelby groups;
scatter x = predictor y = outcome ;
run;
This is the PNG file I want.
However currently I'm getting two separate PNG files: One for each row
First PNG File
Second PNG File
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Try using the ONEPANEL option on the PANELBY statement:
panelby groups / onepanel;
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Try using the ONEPANEL option on the PANELBY statement:
panelby groups / onepanel;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Rick! I appreciate your responses on SAS Communities and your blog. They have helped me out a bunch of times.