Data visualization with SAS programming

Proc Plot y axis labeling

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 121
Accepted Solution

Proc Plot y axis labeling

This should be really simple. I just can't seem to find it and am in a hurry.

 

Here is the code:

Title "Percentage of Reported AIDS Cases To Persons with HIV Classified as Having AIDS" ;
Proc chart Data=SasData.HIV_Surveillance_Pct ;
Label Residence_Location = 'Residence Location' ;
    Vbar Residence_Location / freq=Diagnosed_AllPct ;                               
run ;                             
quit ;

 

How do I change the name on the Y axis from "Frequency" to "Percentage %" ?


Accepted Solutions
Solution
‎03-16-2018 05:57 PM
Respected Advisor
Posts: 2,661

Re: Proc Plot y axis labeling

Posted in reply to ManitobaMoose
label freq='Percentage';
--
Paige Miller

View solution in original post


All Replies
Solution
‎03-16-2018 05:57 PM
Respected Advisor
Posts: 2,661

Re: Proc Plot y axis labeling

Posted in reply to ManitobaMoose
label freq='Percentage';
--
Paige Miller
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 143 views
  • 0 likes
  • 2 in conversation