Data visualization with SAS programming

Options of GTL statement

Accepted Solution Solved
Reply
Regular Contributor
Posts: 233
Accepted Solution

Options of GTL statement

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 !


Accepted Solutions
Solution
‎03-29-2016 03:24 PM
Grand Advisor
Posts: 10,211

Re: Options of GTL statement

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


All Replies
Solution
‎03-29-2016 03:24 PM
Grand Advisor
Posts: 10,211

Re: Options of GTL statement

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.

Regular Contributor
Posts: 233

Re: Options of GTL statement

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

Grand Advisor
Posts: 17,360

Re: Options of GTL statement

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.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 320 views
  • 1 like
  • 3 in conversation