BookmarkSubscribeRSS Feed
aimeehayes0
Calcite | Level 5

I am using SAS studio (but writing own code not using custom tasks).

I need to change the line style on KM curves for black and white publication and increase the dpi to 300. What is the most straightforward way to do this? Grateful for any assistance.

3 REPLIES 3
PGStats
Opal | Level 21

What ODS destination are you sending your graphs to?

PG
aimeehayes0
Calcite | Level 5

In SAS Studio, by default, output is generated in the HTML5, PDF, and RTF formats via the results tab.

PGStats
Opal | Level 21

This is how I create a graph as a PNG image file with 300 dpi for publication:

 

ods listing gpath="c:\myGraphsDir" style=journal image_dpi=300;
ods graphics / imagename="myGraph"  width=15cm height=10cm;

....  call graphing procs .....

This would create the file c:\myGraphsDir\myGraph.png containing a 300 dpi graph using the journal style which is monochrome. You may also try the style variants journal1, journal2 and journal3.

PG

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1006 views
  • 2 likes
  • 2 in conversation