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

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
Fluorite | Level 6

perfect! thank you

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 519 views
  • 4 likes
  • 2 in conversation