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 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!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 968 views
  • 1 like
  • 2 in conversation