BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Skillside
Calcite | Level 5

Hi,

this time i need to create EDF plot which is editable for journal editor. It should be generated as editable PDF, or PPT, XLS, DOC/DOCX. The thing is that i create EDF plot via npar1way procedure which is a part of my analysis.

Could you please provide me a code which will export the generated plot (from npar1way) in editable pdf?

Thank you in advance for any response.

Regards,

Skillside

1 ACCEPTED SOLUTION

Accepted Solutions
SASJedi
Ammonite | Level 13

This code produces PDF, PowerPoint, and RTF (Word) documents as output. 

ods pdf file="s:/workshop/edf.pdf";
ods powerpoint file="s:/workshop/edf.ppt";
ods rtf file="s:/workshop/edf.rtf";
data Arthritis;
   input Treatment $ Response Freq @@;
   datalines;
Active 5 5 Active 4 11 Active 3 5 Active 2 1 Active 1 5
Placebo 5 2 Placebo 4 4 Placebo 3 7 Placebo 2 7 Placebo 1 12
;

proc npar1way edf plots=edfplot data=Arthritis;
   class Treatment;
   var Response;
   freq Freq;
run;
ods pdf close;
ods powerpoint close;
ods rtf close;

The PDF is editable in Adobe Acrobat, the PPT in PowerPoint, and the RTF file in Word. The EDF graph produced is an image, and like other embedded images, can be embellished in those applications by adding text, highlights and call-out boxes. 

Check out my Jedi SAS Tricks for SAS Users

View solution in original post

2 REPLIES 2
SASJedi
Ammonite | Level 13

This code produces PDF, PowerPoint, and RTF (Word) documents as output. 

ods pdf file="s:/workshop/edf.pdf";
ods powerpoint file="s:/workshop/edf.ppt";
ods rtf file="s:/workshop/edf.rtf";
data Arthritis;
   input Treatment $ Response Freq @@;
   datalines;
Active 5 5 Active 4 11 Active 3 5 Active 2 1 Active 1 5
Placebo 5 2 Placebo 4 4 Placebo 3 7 Placebo 2 7 Placebo 1 12
;

proc npar1way edf plots=edfplot data=Arthritis;
   class Treatment;
   var Response;
   freq Freq;
run;
ods pdf close;
ods powerpoint close;
ods rtf close;

The PDF is editable in Adobe Acrobat, the PPT in PowerPoint, and the RTF file in Word. The EDF graph produced is an image, and like other embedded images, can be embellished in those applications by adding text, highlights and call-out boxes. 

Check out my Jedi SAS Tricks for SAS Users
Skillside
Calcite | Level 5

Thank you, it seems that it works!

Hope that journal editor won't request different format.

Regards,

Skillside

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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