06-07-2013 08:31 AM
I have the following script and I have to add titles at each graphs following the By variable in proc reg. Thnaks a lot,
ods Graphics on;
ods _all_ close;
ods document name=QQDoc(write);
proc reg data=trend plots=(fitplot(stats=none) ) ;
model ln_meu=immunization_data ;
by antigen dilution;
ods document close;
ODS RTF FILE="C:\Users\pomilba1\Desktop\Sas luca\SASResults\13011\prova.rtf";
proc document name=QQDoc;
ods select fitplot;
ODS rtf close;
ods Graphics off;
06-07-2013 01:18 PM
What do you want the titles to look like?
General syntax would be something like
Title "Title text, #byline";
befor the proc reg.
options byline; to return default behavior of the by variables.
Do you want the titles as part of the plot or outside? That would be controlled by use of the GTITLE or NOGTITLE as an option on the ODS RTF statement.