Page 1 of 1

Error for SPGRAPH

Posted: Thu Jun 03, 2021 12:58 pm
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.

Re: Error for SPGRAPH

Posted: Thu Jun 03, 2021 5:21 pm
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.")