Hello,
I have created a nice survival plot for my analysis but cannot find a way to save/export as a SVG file for journal publication. Can you please help?
I am using SAS Studio, this is my code.
Your code is writing EPS (encapsulated post script graphics if I recall correctly) . You need to specify an ODS Destination that will support SVG and then use the OUTPUTFMT=SVG (not EPS)
ODS LISTING and ODS HTML5 should work.
Thank you for your help.
I am an extreme beginner. Is there anyway you could elaborate (or show the additional / new code needed).
I am very sorry and very appreciative.
Here is an example.
ods listing gpath='c:\temp\';
ods graphics /outputfmt=svg imagename='want';
proc sgplot data=sashelp.class;
scatter x=weight y=height/group=sex;
run;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.