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
SAS Super FREQ
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 731 views
  • 0 likes
  • 2 in conversation