Data visualization with SAS programming

sgplot name for .png

Reply
Occasional Contributor
Posts: 13

sgplot name for .png

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

Super User
Super User
Posts: 7,721

Re: sgplot name for .png

Occasional Contributor
Posts: 13

Re: sgplot name for .png

Thanks, I´m going to do a test

Occasional Contributor
Posts: 13

Re: sgplot name for .png

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

I don´t know ir you can help me.

Thanks a lot

Super User
Super User
Posts: 7,721

Re: sgplot name for .png

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;

Ask a Question
Discussion stats
  • 4 replies
  • 464 views
  • 6 likes
  • 2 in conversation