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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 444 views
  • 0 likes
  • 3 in conversation