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