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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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