BookmarkSubscribeRSS Feed
laurenhosking
Quartz | Level 8

I'm trying to change the colour of my normal curve on my histogram. This is what ive tried however nothing happens it stays the default colour.

proc univariate data=Students;
	var Results;
	histogram /endpoints=(0 to 16 by 1) normal (Color=red w=5);
	INSET N = 'Number of Patients' MEDIAN (8.2) MEAN (8.2) STD='Standard Deviation' (8.3) / POSITION = ne;
run;
1 REPLY 1
SAS_Cares
SAS Employee

Hello @laurenhosking!

We found a similar question with a detailed solution in a Solved post in the ODS Reports forum: Solved: Can't control color of plots in PROC UNIVARIATE

We hope that helps!

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

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