BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SAS_inquisitive
Lapis Lazuli | Level 10

There are so many options for each statememnt in GTL (Graph Template Language) such as for scatteplot, xaxisopts etc. How to know all of those options?  I guess it would be the based on requirement.  Still it seems overwhelming.

 

Thanks !

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Since GTL stands for Graphics Template Language it is similar to any other programming language. Start by reading the friendly manual, or online help. There are examples at places such as http://support.sas.com/sassamples/graphgallery/PROC_SGRENDER_Graph_Template_Language__GTL_.html that show results and code to generate them.

 

Then practice.

 

Caution: The GTL has changed with every release and if you are not running 9.4 you may find examples that won't quite work with your install.

View solution in original post

3 REPLIES 3
ballardw
Super User

Since GTL stands for Graphics Template Language it is similar to any other programming language. Start by reading the friendly manual, or online help. There are examples at places such as http://support.sas.com/sassamples/graphgallery/PROC_SGRENDER_Graph_Template_Language__GTL_.html that show results and code to generate them.

 

Then practice.

 

Caution: The GTL has changed with every release and if you are not running 9.4 you may find examples that won't quite work with your install.

SAS_inquisitive
Lapis Lazuli | Level 10

@ballardw. This looks a good repository of GTL graphs. I will go over  them and practice.  Thank you.

Reeza
Super User

Out of date but here's a good starting point:

http://www.sas.com/store/prodBK_63120_en.html

 

I would pick something to focus on though, what type of graphs are you interested in?

 

SGPLOT actually goes very far, but if you need very customized graphics then yes, using GTL is great.

 

Also, try recreating a bunch of the standard graphs from procs (proc corr, proc reg diagnostic plots) will help you out. And you can see the templates. Learn how to modify the templates.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 1249 views
  • 1 like
  • 3 in conversation