BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello and happy new year to everybody
I have some problems when i'm using the proc sgpanel
1) is there an equivalent to the gout options of the proc gplot to save the graphics produced ?
otherwise what is the way to save my graphics in an libname ?
2) when i submit this code :
ods rtf file="c:\... .rtf"; ODS GRAPHICS / ANTIALIASMAX=6200 ;
ods html file="c:\.. .html";

proc sgpanel data=sashelp.heart noautolegend;
panelby sex;
histogram diastolic
density diastolic;
run;

ods html close;
ods rtf close;

the results in rtf are correctly displayed but there is nothing in my html file !!
why ?
Can you explain to me why and if possible a way to have my graphics in a html format and (question 1) a way to save my graphics in a libname or in a catalog ?
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
Please see the use of PATH= and GPATH= in the documentation topic:
http://support.sas.com/documentation/cdl/en/statug/59654/HTML/default/statug_odsgraph_sect032.htm
What is probably happening is that your HTML file is being directed to the FILE= location and the image is directed to and located in your working directory folder -- probably someplace down under Documents and Settings.

cynthia
deleted_user
Not applicable
thank you cynthia

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
  • 2 replies
  • 1136 views
  • 0 likes
  • 2 in conversation