I must be exporting my graphs incorrectly, because code like this
Code: Select all
open plot indicators.eps
graph 2
# gdp
# cons
close plot
does produce a file named indicators.eps, but EPSTOPDF throws an error of "Invalid binary DOS header". It looks like this is because even when I specify a file extension, RATS is still exporting the graph in RGF format. If I change the extension to RGF outside of the code, RATS opens it correctly as an RGF file.
I can then manually export it to EPS, but then EPSTOPDF doesn't pick up the colors. What did I miss?
Is this something related to batch mode? Code like this
Code: Select all
environment gsave="indicators.eps" gformat=portrait
graph 2
# ffed
# fcm10
doesn't display any errors, but doesn't produce an output file anywhere on my system, as far as I can tell.