Hi SAS Community,
I'm using SAS EG, sgplot statement to do some charts. One problem I have is that the gridlines are too dispersedly distributed. Does anyone know how to make gridlines denser? I've tried setting specifically value = (1 to 100 by 10), but the problem is that I want it be more flexible so I don't need to manually input the minimum 1 and maximum 100.
Any ideas or directions is greatly appreciated.
Thanks!
GRID lines are tied to major tick marks, but MINORGRID lines are tied to minor ticks. One idea to try is the following:
1. Remove the REFLINE statement your're using now.
2. Add the GRID, MINOR, and MINORGRID option to your XAXIS or YAXIS statement
Post back and let us know if that gets you closer to what you want.
Thanks!
Dan
GRID lines are tied to major tick marks, but MINORGRID lines are tied to minor ticks. One idea to try is the following:
1. Remove the REFLINE statement your're using now.
2. Add the GRID, MINOR, and MINORGRID option to your XAXIS or YAXIS statement
Post back and let us know if that gets you closer to what you want.
Thanks!
Dan
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.
Ready to level-up your skills? Choose your own adventure.