Data visualization with SAS programming

How to export plot from results?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 6
Accepted Solution

How to export plot from results?

I want to export coefficient progression plot generated by LASSO, but it seems "proc export" command cannot process *.jpg files.

 

For example, I want to export figure 44.16 on the following website.

 

http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_glmselect_se...

 

Is there a way that I can directly export plot using a few lines of code?

 

 

 

 


Accepted Solutions
Solution
‎03-21-2018 10:41 AM
Super User
Super User
Posts: 9,200

Re: How to export plot from results?

It depends on what output type you want.  It could be as simple as putting:

ods rtf file="c:\want.rtf";

...your code...

ods rtf cose;

View solution in original post


All Replies
Solution
‎03-21-2018 10:41 AM
Super User
Super User
Posts: 9,200

Re: How to export plot from results?

It depends on what output type you want.  It could be as simple as putting:

ods rtf file="c:\want.rtf";

...your code...

ods rtf cose;
Occasional Contributor
Posts: 6

Re: How to export plot from results?

Thank you so much. I exported pdf files, and it worked.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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