I am trying to output my graph image in a *.eps file format.
However, I was getting the ERROR message ERROR: Unsupported image file format for output file.
Therefore, I am using EPSI image format and that ran successfully.
The issue is that when I try to open the *.epsi file using Adobe Acrobat, I am getting an error.
Please let me know if there is a way I could output *.eps image format using ODS GRAPHICS, otherwise, please let me know if there is any workaround to get rid of the error showing up while opening it using Adobe Acrobat.
For some reason filename statement and gsfname goptions is not working for me and therefore I am using ods listing gpath.
The code and the error are attached.
goptions reset=all ftext="Helvetica";
ods listing gpath="&somepath";
ods graphics on/reset=index
proc sgplot data = XXX noautolegend;
reg x=xvar y=yvar /markerattrs=(symbol=plus);
ods graphics off;
I took your example and generated a regression plot using the EPS format. I was able to view it on Windows using GhostView without any problems (and using Okular on Linux). However, as you said, Acrobat was not able to read it. If Acrobat is going to be your viewer for this output, can you set the IMAGEFMT to PDF instead, or is EPS a requirement?
The early bird rate has been extended! Register by March 18 for just $695 - $100 off the standard rate.
Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
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.