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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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