BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
hartwell
Obsidian | Level 7

Is there a way to get rid of tick marks entirely in GTL?  As part of my layout, I'm overlaying a scatter and a boxplot for my two different treatment groups.  I don't want tickmarks at all, which I can do in proc sgplot with a display=(noticks) option, but I can't seem to find a similar option in GTL.  Is there a way to get this done?

 

EXAMPLE CODE

layout overlay / xaxisopts=(label=("Change") tickvalueattrs=(size=0 color=white)) yaxisopts=(label=" " labelposition=top);

scatterplot y=CHG x= TRT / group=TRT groupdisplay = cluster clusterwidth=1  markerattrs=(size=5 symbol=circlefilled);

boxplot y=CHG x=TRT / group=TRT grouporder=data groupdisplay=cluster fillattrs=(transparency=0.6) boxwidth = 1;

endlayout;
1 ACCEPTED SOLUTION

Accepted Solutions
DanH_sas
SAS Super FREQ

Yes, there is. In SGPLOT and SGPANEL, axis displays options are subtractive (noticks, notable, etc). In GTL, they are additive -- you specify what you want. So, using the DISPLAY option on the XAXISOPTS/YAXISOPTS options, you would specify DISPLAY=(line label tickvalues) to display everything except the tick marks. Hope this helps!

View solution in original post

2 REPLIES 2
DanH_sas
SAS Super FREQ

Yes, there is. In SGPLOT and SGPANEL, axis displays options are subtractive (noticks, notable, etc). In GTL, they are additive -- you specify what you want. So, using the DISPLAY option on the XAXISOPTS/YAXISOPTS options, you would specify DISPLAY=(line label tickvalues) to display everything except the tick marks. Hope this helps!

hartwell
Obsidian | Level 7

perfect! thank you

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1155 views
  • 4 likes
  • 2 in conversation