Long note in Footer
Long note in Footer
Hello,
I am trying to add the following note as a footer in a spgraph command. This is a long note. But RATS probably cannot read this long note as I received an error message.
footer="Note: Panels A, B, and C show the effects of an increase in the Fed's total assets on the indicated variables. Panel D shows the responses of \\ dividend growth to an increase in commercial and industrial lonas. Dotted lines show 90% confidence interval")
Error Message:
## SX2. Expected " to Terminate String
>>>>how 90% confidence<<<<
I have attached the file. Any help would be appreciated.
Sincerely,
Sajjadur Rahman
I am trying to add the following note as a footer in a spgraph command. This is a long note. But RATS probably cannot read this long note as I received an error message.
footer="Note: Panels A, B, and C show the effects of an increase in the Fed's total assets on the indicated variables. Panel D shows the responses of \\ dividend growth to an increase in commercial and industrial lonas. Dotted lines show 90% confidence interval")
Error Message:
## SX2. Expected " to Terminate String
>>>>how 90% confidence<<<<
I have attached the file. Any help would be appreciated.
Sincerely,
Sajjadur Rahman
- Attachments
-
- Fig_3.rpf
- (1.38 KiB) Downloaded 707 times
Re: Long note in Footer
The line is probably too long for the editor. You can split up the string by "adding" two substrings (with a $ to break the line between them), such as by:
Note that it generally makes more sense to put a long note like that into the caption on the graph in whatever application you're using to create a paper.
Code: Select all
graph(footer="Note: Panels A, B, and C show the effects of an increase in the Fed's total assets on the indicated variables. Panel D shows the responses of \\"+$
"dividend growth to an increase in commercial and industrial lonas. Dotted lines show 90% confidence interval")
# varlevel
Re: Long note in Footer
Thanks for your reply. I followed your advice and wrote the following spgraph command with footer. As you can see in the attached output, the footer does not show "95% confidence interval". I have also attached the script.
spgraph(vfields=2,nosamesize,hfields=2,patterns,header="Figure 5. Transmission of the Fed's balance sheet shock into the stock market.", $
subheader="(Reserve channel)",footer= "Note: Panel A shows the effects of an increase in the Fed's total assets on reserve balances held by commercial banks."+ $
" Panels B and C show \\the responses of money supply and stock returns to an increase in total reserves, respectively."+ $
" Dotted lines show 95% confidence interval.")
Any help will be appreciated.
Sincerely,
Sajjadur Rahman
spgraph(vfields=2,nosamesize,hfields=2,patterns,header="Figure 5. Transmission of the Fed's balance sheet shock into the stock market.", $
subheader="(Reserve channel)",footer= "Note: Panel A shows the effects of an increase in the Fed's total assets on reserve balances held by commercial banks."+ $
" Panels B and C show \\the responses of money supply and stock returns to an increase in total reserves, respectively."+ $
" Dotted lines show 95% confidence interval.")
Any help will be appreciated.
Sincerely,
Sajjadur Rahman
- Attachments
-
- output.pdf
- (41.6 KiB) Downloaded 703 times
-
- experiment.rpf
- (1.11 KiB) Downloaded 670 times
Re: Long note in Footer
There's an overall limit of 256 bytes on a string, and it looks like you're running up against that.