Adjusting the font size of the header on SPGRAPH

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
Post Reply
IRJ
Posts: 48
Joined: Wed Jan 10, 2007 1:15 am

Adjusting the font size of the header on SPGRAPH

Post by IRJ »

I am running the following code to create an SPGRAPH:

Code: Select all

spgraph(hfields=2,vfields=4, header="Responses to MP") 
graph(header="ER",number=0) 3
#irf(1,1)
#upperband(1,1) / 2
#lowerband(1,1) / 2
graph(header="RINT",number=0) 3
#irf(2,1)
#upperband(2,1) / 2
#lowerband(2,1) / 2
graph(header="DY",number=0) 3
#irf(3,1)
#upperband(3,1) /2
#lowerband(3,1) / 2
graph(header="DTB",number=0) 3
#irf(4,1)
#upperband(4,1) / 2
#lowerband(4,1) / 2
graph(header="VOL",number=0) 3
#irf(5,1)
#upperband(5,1) / 2
#lowerband(5,1) / 2
graph(header="VIX",number=0) 3
#irf(6,1)
#upperband(6,1) / 2
#lowerband(6,1) / 2
graph(header="LEVERAGE",number=0) 3
#irf(7,1)
#upperband(7,1) / 2
#lowerband(7,1) / 2
graph(header="VOLUME",number=0) 3
#irf(8,1)
#upperband(8,1) / 2
#lowerband(8,1) / 2
spgraph(done)
The font of the header on the SPGRAPH instruction, "Responses to MP", is simply too big (especially relative to the size of the graphs themselves). Is there a simple way to have a smaller font for the header?

Thanks.
TomDoan
Posts: 7825
Joined: Wed Nov 01, 2006 4:36 pm

Re: Adjusting the font size of the header on SPGRAPH

Post by TomDoan »

Use GRPARM. The default is "24" (relative to size), so probably something like

GRPARM HEADER 20
Post Reply