BookmarkSubscribeRSS Feed
joelee1
Fluorite | Level 6

Using proc univariate to make histograms but the image quality is very low on SAS on Demand. Is there a way to increase the resolution of these? So far I've only found processes on the Internet for SAS 9.4, but none suitable for on Demand product. Thank you!

2 REPLIES 2
joelee1
Fluorite | Level 6

The issue is the output histogram is poor quality, particularly trying to put it on a slide or expand it gets blurry. Can I just add ods graphics code in here? I'm not sure how to write that out from what I've read in other posts. Or is there other better code to use? Thank you! 

 

Below is my graph I want in higher res

 

PROC UNIVARIATE data=LCS2;
class recfutime;
var timetofuscan;
histogram timetofuscan / nrows=4 endpoints=(0 to 360 by 15);
ods select histogram;
run;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 768 views
  • 1 like
  • 2 in conversation