Hello,
I have a newer position with a company that uses Enterprise Guide (7.12 HF7 (7.100.2.3491) (64-bit)) with SAS 9.4M3. I did not use EG with my previous employer so I'm trying to figure out differences. At the moment I'm having trouble making Enterprise Guide create an image in PDF as a scalable vector graph. Running code I've used before results in a rasterized image instead of a vectorized one. When I run the same code in SAS Studio (which runs on the same Linux servers) I get the expected vector image.
ods pdf file='location/eg_test.pdf' notoc bookmarkgen=no;
ods graphics /reset outputfmt=static;
proc sgplot data=sashelp.class;
scatter x=height y=weight;
run;
ods pdf close;
I ran PROC OPTSAVE and did a comparison between the two but didn't see any significant differences in option settings, and I'm not seeing this issue when searching. Is there something in EG that is preventing the vectorized image? I have the two PDF images below for comparison.
Looks like there are some major differences in the graphic-options. Check goption "device", is it set to svg?
proc goptions option=device;run;
Looks like there are some major differences in the graphic-options. Check goption "device", is it set to svg?
proc goptions option=device;run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.