BookmarkSubscribeRSS Feed
SanjayAhir
Obsidian | Level 7

Can i create multiple pages in PNG format file. I want to create per page graph in PNG format.

4 REPLIES 4
ballardw
Super User

 

PNG are image files and as such do not have a concept "pages". The image can contain multiple individual SAS graphs depending on how they are made but you would have to share a lot more detail about what you have and what you are attempting.

SanjayAhir
Obsidian | Level 7
I already have created multiple graph in one png page. But I want to know
is it possible to have multiple pages in png format.?
GraphGuy
Meteorite | Level 14

I'm not 100% sure what you're asking, but here's one way to use 1 proc sgplot, and produce multiple graphs (with each graph being in a separate png file - one for each value of the 'by' variable)...

 

proc sort data=sashelp.class out=my_data;
by sex;
run;

 

proc sgplot data=my_data;
by sex;
scatter y=height x=weight;
run;

 

SanjayAhir
Obsidian | Level 7

Hi,

 

I am asking to create multiple page in PNG file. Like we create multiple graphs in PDF file based on by group. I have 3 graph. I want to place each graph on separate pages in PNG file.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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
  • 4 replies
  • 624 views
  • 0 likes
  • 3 in conversation