I am having trouble on trying to save graphics on .eps format for further edition. I am using proc sagplot.
ods graphics / outputfmt=eps;
Try that before you code and see what graph types you get.
Yes, certain destinations support different format types and EPS is an older type that's not supported within HTML5. The documentation, original answer, includes those details. Perhaps a more detailed explanation of what you're trying to do and what you actually need would help us to solve your issue.
I only find this on log WARNING: html5 destination does not support EPS images. Using the default static format.
Yes, I am sorry.
I am trying to save graphic for further work on adobe illustrator. I normally use this to combine graphics in one figure or to change things inside the graphic, like the color of the line or dash line, etc.
I am using sas university edition, I don't know if it is matter.
Thanks for your help.
I believe SVG and PNG are considered the optimal outputs in this case then.
So the graphic must be in an open format where we can change line and write on it. I use to work with .eps which comes from sigma plot program, but there might be other formats also.
Why not output directly to PDF if you want that?
This is what my log looks like and there's the path to the PNG and PDF file.
13890 proc sgplot data=sashelp.class;
13891 scatter x=weight y=height / group=sex;
NOTE: PROCEDURE SGPLOT used (Total process time):
real time 1.34 seconds
cpu time 0.32 seconds
NOTE: Listing image output written to
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
13894 ods pdf close;
NOTE: ODS PDF printed 1 page to C:\_localdata\temp\graphs.pdf.
ods graphics / outputfmt=png; ods pdf file='C:\_localdata\temp\graphs.pdf'; proc sgplot data=sashelp.class; scatter x=weight y=height / group=sex; run; ods pdf close;
Now I have this message on log
"ERROR: Insufficient authorization to access /opt/sasinside/SASConfig/Lev1/SASApp/C:\_localdata\temp\graphs.pdf."
It might be because I do not have sas license and I am using sas university edition on demo version?
Thanks for your help.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.