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
SAS Super FREQ

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
SAS Super FREQ

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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 428 views
  • 0 likes
  • 2 in conversation