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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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