Data visualization with SAS programming

Move x2 tick values inside graph

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

Move x2 tick values inside graph

Hello,

 

I used sgplot/template to create a graph below. Is there any option to move those tickvalues (0, 20, 40...100) below the x2axis?

 

Thanks

 

tickvalues.png


Accepted Solutions
Solution
‎10-16-2017 06:08 PM
SAS Super FREQ
Posts: 1,184

Re: Move x2 tick values inside graph

Yes, use AxisTable.  An xAxisTable can be used to simulate an axis.  Hide the top X2 axis, and add a xAxisTable of the values you want with LOCATION=INSIDE, POSITION=TOP.  Only issue is you have to decide with tick values you want.

View solution in original post


All Replies
Solution
‎10-16-2017 06:08 PM
SAS Super FREQ
Posts: 1,184

Re: Move x2 tick values inside graph

Yes, use AxisTable.  An xAxisTable can be used to simulate an axis.  Hide the top X2 axis, and add a xAxisTable of the values you want with LOCATION=INSIDE, POSITION=TOP.  Only issue is you have to decide with tick values you want.

☑ This topic is solved.

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

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