Data visualization with SAS programming

Rotate axis label SGPLOT Procedure

Accepted Solution Solved
Reply
Contributor
Posts: 39
Accepted Solution

Rotate axis label SGPLOT Procedure

Hi,

 

I don't see any option for rotating axis labels in sgplot wherein gplot I have rotate and angle option but here I don't see any option.

 

 yaxis label="Value"   min=0 max=30 ;

 

I want to rotate label "Value" vertical. currently, it is horizontally

 

Please help.


Accepted Solutions
Highlighted
Solution
a week ago
Super User
Super User
Posts: 8,634

Re: Rotate axis label SGPLOT Procedure

fitpolicy=rotate

 

That should be added to your axis statement.

 

Any graph question you have your first port of call should be this website:

http://blogs.sas.com/content/graphicallyspeaking/

 

Which for instance has:

https://blogs.sas.com/content/graphicallyspeaking/2016/12/19/axis-values-display/

 

And thousands of other examples.

View solution in original post


All Replies
Highlighted
Solution
a week ago
Super User
Super User
Posts: 8,634

Re: Rotate axis label SGPLOT Procedure

fitpolicy=rotate

 

That should be added to your axis statement.

 

Any graph question you have your first port of call should be this website:

http://blogs.sas.com/content/graphicallyspeaking/

 

Which for instance has:

https://blogs.sas.com/content/graphicallyspeaking/2016/12/19/axis-values-display/

 

And thousands of other examples.

☑ This topic is solved.

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

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