The SAS Output Delivery System and reporting techniques

remove some graphics headers

Reply
N/A
Posts: 0

remove some graphics headers

Hello dears SAS users.
my problem is the following, when i submit this code

ods html path = "C:\test1"
gpath= "C:\test1"
file = "test_graph2.htm";
ods select Univar;
title j=c "QQplot mat ";
proc univariate data=sashelp.class ;
class sex ;
var weight;
qqplot / normal(mu=est sigma=est) ncol=2 vaxislabel =" ";
run;
ods html close;

but in my HTML output there is always before the graphics of qqplot
the univariate procedure ( i can remove that with ods noproctitle)
but after it's written
Variable: Weight
Sex = M
how can i do to remove this ?
I'm still seeking but i don't find anything for the moment !!
should you help me ?
Thank you
SAS Employee
Posts: 174

Re: remove some graphics headers

Posted in reply to deleted_user
PROC DOCUMENT can do what you want. The following works in SAS 9.2. I believe it works in SAS 9.1 also.

[pre]
ods document name=doc(write);
ods listing close;
ods select Univar;
title j=c "QQplot mat ";
proc univariate data=sashelp.class ;
class sex ;
var weight;
qqplot / normal(mu=est sigma=est) ncol=2 vaxislabel =" ";
run;
ods document close;
ods listing;
proc document name=doc;
list/levels=all;run;
obstitle univariate\weight\qqplot\univar;run;
ods html file="test.html";
ods listing close;
replay;run;quit;
ods html close;
[/pre]

The DOCUMENT OBSTITLE command deletes the subtitles (aka proc titles) associated with graph output object univar.

-- David Kelley, SAS
N/A
Posts: 0

Re: remove some graphics headers

Posted in reply to David_SAS
Thank you for your answer but may be there is a more general option to remove this lines of information before the graphics output ?
like ods noproctitle to remove information about the procedure which is used.
SAS Employee
Posts: 174

Re: remove some graphics headers

Posted in reply to deleted_user
No, there is no other way within ODS to remove output object subtitles.

-- David Kelley, SAS
Ask a Question
Discussion stats
  • 3 replies
  • 149 views
  • 0 likes
  • 2 in conversation