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!

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 494 views
  • 1 like
  • 2 in conversation