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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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