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