Data visualization with SAS programming

proc sgpanel y-axis label

Accepted Solution Solved
Reply
Regular Contributor
Posts: 194
Accepted Solution

proc sgpanel y-axis label

How do I add a y-axis label to this graph (i.e. "Injury Count")?

proc sgpanel data=buo;

     panelby bu / spacing=5 novarname columns=1;

          ROWAXIS values=(0 to 24 by 2);

     vline ydoi / response=yr_osha datalabel;

     vline ydoi / response=yr_dart datalabel;

run;

Thank you.


Accepted Solutions
Solution
‎11-15-2011 05:59 PM
Grand Advisor
Posts: 9,748

Re: proc sgpanel y-axis label

Try adding

label='Injury count' to your ROWAXIS statement.

View solution in original post


All Replies
Solution
‎11-15-2011 05:59 PM
Grand Advisor
Posts: 9,748

Re: proc sgpanel y-axis label

Try adding

label='Injury count' to your ROWAXIS statement.

Post a Question
Discussion Stats
  • 1 reply
  • 1446 views
  • 0 likes
  • 2 in conversation