Data visualization with SAS programming

proc boxplot title and footnote

Reply
Contributor
Posts: 56

proc boxplot title and footnote

I am using proc boxplot for reporting and wanted to make title and footnote in BOLD . also give them my custom font and color . I tried proc template but could not succeed. output destination is PDF file.

I tried to use options in title and footnote statement but that does not work.

Can any one help?

Grand Advisor
Posts: 16,265

Re: proc boxplot title and footnote

What did you try? I thought inline formatting works fine for title/footnote statements.

ods pdf file='C:\_localdata\junk2.pdf';

title j=left

      font= 'Times New Roman' color=blue bcolor=red "Leading Grain "

      c=green bold italic "Producers in";

title2 j=center color=red underlin=1

       height=28pt "2"

       height=24pt "0"

       height=20pt "1"

       height=16pt "0";

proc print data=sashelp.class;

run;

footnote j=left height=20pt

       color=red "Prepared "

       c='#FF9900' "on";

footnote2 j=center color=blue

          height=24pt "&sysdate9";

footnote3 link='http://support.sas.com' "SAS";

ods pdf close;

Contributor
Posts: 56

Re: proc boxplot title and footnote

Can you try same with proc boxplot with pdf destination?

You can take sample code from SAS/STAT(R) 9.2 User's Guide, Second Edition

and just add your title and footnote.

let me know if you can make title and footnote in bold.

Grand Advisor
Posts: 16,265

Re: proc boxplot title and footnote

Do you need the title embedded within the graphic? If not, use ods nogtitle I think to push it out which will then work with what I've posted. Otherwise you do have to modify the template(s).

47306 - Using the NOGTITLE option in the ODS PDF statement with SAS® 9.3

Contributor
Posts: 56

Re: proc boxplot title and footnote

As per SAS it works starting from 9.3 and I have 9.2.

Grand Advisor
Posts: 16,265

Re: proc boxplot title and footnote

Ah, it helps if you mention the version in the question, there were a lot of graphical changes in 9.2 to 9.4. I don't have 9.2 to test so hopefully someone else can or you can contact tech support. I recommend tech support at this point.

Post a Question
Discussion Stats
  • 5 replies
  • 548 views
  • 0 likes
  • 2 in conversation