Error for SPGRAPH

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
msrahman
Posts: 53
Joined: Wed Oct 31, 2012 2:32 pm

Error for SPGRAPH

Unread post by msrahman »

Hello,

I am using the following command to generate graph:

spgraph(vfields=10,hfields=2,height=10,width=10,key=bellow,nokbox,patterns,ylabels=||"US","UK","Japan","Canada","Germany","France","Italy","Spain","Belgium","Netherlands"||,klabels=||"Responses","90% confidence band"||,header="Figure 1. Effects of an Uncertainty Shock on Overall Economic Activities.")

But receiving this error:

## SX2. Expected " to Terminate String
>>>>Effects of an Unce<<<<

Any help on what is going on?

Sincerely,
Sajjadur.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Error for SPGRAPH

Unread post by TomDoan »

Only the first 256 characters on a line get processed. You're at over 300. Break it at some point, such as:

spgraph(vfields=10,hfields=2,height=10,width=10,key=bellow,nokbox,patterns,ylabels=||"US","UK","Japan","Canada","Germany","France","Italy","Spain","Belgium","Netherlands"||,$
klabels=||"Responses","90% confidence band"||,header="Figure 1. Effects of an Uncertainty Shock on Overall Economic Activities.")
Post Reply