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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.