Graphics Programming

Data visualization using SAS programming, including ODS Graphics and SAS/GRAPH. Charts, plots, maps, and more!
BookmarkSubscribeRSS Feed
JonathanNitzan
Calcite | Level 5
1. I'm using proc template, trying to have my tick marks plotted inside rather than outside. I'm using option tickstyle=inside, but this option seems to affect only the major tick marks, not the minor ones.

2. I'm using SAS 9.4 1M7.

3. Any suggested solution for how to have BOTH major and minor tick marks inside?

Thank you.

 

3 REPLIES 3
ballardw
Super User

I suggest posting your template and Sgrender code used plus some data.

 

Templates can be a bit picky and we need to see everything involved to understand what may be happening.

djrisks
Barite | Level 11

Hi @JonathanNitzan,

 

Robert Allison shows an example at the link below. You basically need to create the tick marks yourself. The TICKSTYLE = Inside, as you said only works for major tick values.

 

https://communities.sas.com/t5/Graphics-Programming/Creating-an-axis-in-GTL-with-both-major-and-mino...

JonathanNitzan
Calcite | Level 5
Thank you for the answers -- much appreciated. I had hoped that SAS 9.4 1M7 fixed this shortcoming. It's bizarre that this feature is not available.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1016 views
  • 0 likes
  • 3 in conversation