BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Cruise
Ammonite | Level 13

Hi folks, 

Do you know how to get rid of variable= shown on the y-axis of each panels in the histogram plot below? In this case, the name of variable is WGT_DX and it appears as WGT_DX= before my information coming from proc format. 

I appreciate your help!

Thanks in advance. 

Let me know if mock data needed.  

 

SAS_SUPPORT_HISTO.png

 

 

ods graphics / height=1200px width=800px;
PROC UNIVARIATE DATA=TEST;
CLASS WGT_DX KEEP2;
VAR DIFF;
HISTOGRAM DOD_DIFF/NROWS=6 ODSTITLE="HI TITLE"; 
ODS SELECT HISTOGRAM; 
FORMAT WGT_DX WGT_DX_MIN.; 
RUN;
PROC FORMAT;

VALUE WGT_DX_MIN
1="Colon/Rectum Cancer"
2="Benign/EN/Uncertain Behavior"
3="Secondary,Unspecified or In-situ"
4="Malignancy of Digestive Organ"
5="Screening for Malignancy"
6="Personal history of GI-cancer"
;
RUN;

 

 

1 ACCEPTED SOLUTION
2 REPLIES 2
Cruise
Ammonite | Level 13
Thanks! I was just thinking of sgpanel.

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