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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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