The SAS Output Delivery System and reporting techniques

how to change more details in regressions' result's Plots?

Reply
N/A
Posts: 0

how to change more details in regressions' result's Plots?

Hi,

I am using REG or some proc like LIFETEST

there is Plot option in lifetest

for example:

*/
proc lifetest data=a plots=(h,ls,s) /*plots=(s,ls,lls,h,p)*/ noprint /**/;
time t*r
strata c;
run;


the resulted plot is just ok for me, as i do not like the style of it. such as linestlye,icon, legend, symbles....

how can i change it?

Thank you.
SAS Super FREQ
Posts: 8,744

Re: how to change more details in regressions' result's Plots?

Hi,
How you change your plot will depend on whether you're using SAS 9.1.3 or SAS 9.2. Also, involved is whether you have ODS GRAPHICS ON/OFF around your procedure code or whether you are using the procedures without ODS GRAPHICS ON/OFF. (ODS GRAPHICS ON/OFF was experimental in SAS 9.1.3 and production in SAS 9.2)

If you are still using SAS 9.1.3, but are NOT using ODS GRAPHICS ON/OFF, then you would look to the procedure syntax for ways to improve the cosmetics of the graph. Some STAT procedures give color and font options. For example, PROC REG, if you look here, has some traditional graphics options that you would specify in procedure syntax:
http://support.sas.com/documentation/cdl/en/statug/59654/HTML/default/statug_reg_sect017.htm
http://support.sas.com/documentation/cdl/en/statug/59654/HTML/default/statug_reg_sect017.htm#statug....
(options include things like: LHREF and LLLINE for specifying line styles)

If you are using ODS GRAPHICS ON/OFF, then these procedure level style options would NOT be used, because graph production would be under the control of the GRAPH Template used with PROC REG, for example. The user's guide for ODS Statistical Graphics is here:
http://support.sas.com/documentation/cdl/en/statug/59654/HTML/default/odsgraph_toc.htm

and some papers:
http://www2.sas.com/proceedings/sugi30/183-30.pdf (SAS 9.1 paper)
http://www2.sas.com/proceedings/sugi31/192-31.pdf (SAS 9.2 paper)

For more information on Graph Templates, the information is relevant to SAS 9.2 -- if you are using SAS 9.1.3, you can still modify Graph Templates, but your method and syntax would be slightly different. Here are some 9.2 papers on Graph Templates:
http://support.sas.com/documentation/cdl/en/grstatug/61950/PDF/default/grstatug.pdf
http://support.sas.com/kb/24/529.html

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 106 views
  • 0 likes
  • 2 in conversation