BookmarkSubscribeRSS Feed
PFAN
Calcite | Level 5

Hi, I´m creatting a htmlpanel with n graphs with proc sgplot.

My question is if I can give a name to my .png and not the generic "sgplot.png" one, for example:

Graph1_20150626.png

Thanks a lot

4 REPLIES 4
PFAN
Calcite | Level 5

Thanks, I´m going to do a test

PFAN
Calcite | Level 5

Sorry, I´m ussig proc sgplot, not ods.

I don´t know ir you can help me.

Thanks a lot

RW9
Diamond | Level 26 RW9
Diamond | Level 26

This gives me a png called Rob in the given folder:

ods graphics on / imagename="Rob";

ods listing gpath="s:\temp\rob";

proc sgplot data=sashelp.class;

  series x=age y=height;

run;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2687 views
  • 6 likes
  • 2 in conversation