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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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