BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I need help with changing GraphLabelText in Scatter Plot, using proc template, so instead the name statediff vertically should be Difference in State Score, horizontally instead of traitdiff need to be Difference in Trait Score and GraphTitletext instead Scatter Plot to Difference in Scores.
Thanks in advance,
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
First, you CAN change the graph template that's used for your statistical graph.

These are the steps you need to follow:
1) understand WHAT graph template is used for your procedure and graph of interest (use ODS TRACE ON/OFF to determine WHAT graph template is being used for your procedure of interest.
2) investigate HOW your graph template of interest is creating its graph area and titles and legends
3) make a copy of of your graph template or otherwise use graph template language syntax to create a changed template
4) possibly change the STYLE template that you're using if you want to change some of the style attributes used in the production of your output (this step can be optional) -- however, your graph template may use style attributes from the style template -- so you may still have to look at the style template before you're all done.

You can find some information about Graph Templates, in these papers:
http://support.sas.com/rnd/datavisualization/papers/sugi30/GraphStyles.pdf
http://support.sas.com/rnd/datavisualization/papers/sugi30/GTL.pdf
http://www2.sas.com/proceedings/sugi29/204-29.pdf
http://www.mwsug.org/Conference/2005/Statistics/SS400.pdf

Otherwise, Tech Support might be your best bet for help with this request. The code involved could be lengthy and several iterations of the program might be required to achieve everything you want. For information on how to contact Tech Support, refer to: http://support.sas.com/techsup/contact/index.html

Good luck,
cynthia

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
  • 1 reply
  • 1148 views
  • 0 likes
  • 2 in conversation