The SAS Output Delivery System and reporting techniques

Changing GraphLabelText in scatter Plot, Proc Corr

Reply
N/A
Posts: 0

Changing GraphLabelText in scatter Plot, Proc Corr

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,
SAS Super FREQ
Posts: 8,868

Re: Changing GraphLabelText in scatter Plot, Proc Corr

Posted in reply to deleted_user
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
Ask a Question
Discussion stats
  • 1 reply
  • 155 views
  • 0 likes
  • 2 in conversation