Page 1 of 1
Taking figures made in RATS into latex
Posted: Tue Sep 20, 2016 4:17 pm
by indrani_5
How do I take the figures or impulse response figures made in RATS into latex? I tried adobe and EPS formats (those are the options thrown up when we try to save any figure in RATS) but with no success.
Re: Taking figures made in RATS into latex
Posted: Tue Sep 20, 2016 4:27 pm
by TomDoan
I use PDF all the time.
\begin{figure}[tbp]
\centering
\includegraphics[width=4.5in,height=2.8in]{gr_TrendOverfit.pdf}
\caption{Local Trend Overfit}
\label{fig:LocalTrendOverfit}
\end{figure}
Re: Taking figures made in RATS into latex
Posted: Wed Sep 21, 2016 3:06 am
by indrani_5
When I tried to save the figure in pdf format, it says 'error in ghostscript'. How do I resolve this?
Re: Taking figures made in RATS into latex
Posted: Wed Sep 21, 2016 10:25 am
by TomDoan
Unfortunately "error in Ghostscript" is an error in Ghostscript, which isn't our program. You should check that you have a recent version of Ghostscript and that the GHOSTSCRIPT environment variable is pointed to the correct console version of that.
You can also save as an EPS file and use either Ghostscript directly or something like EPS2PDF to translate it to PDF.