On Wed, 13 Mar 2013, Gabriela Nodari wrote:
Dear Riccardo
I guess there is a problem in gretl plot controls when using the svar
package.
After the command IRFplot, when I try to modify the default plot (like
colors, etc.) it does not work very well.. For example if you do nothing
and just click on apply in the plot controls windows.. The confidence
interval turns blue!!!
Could be a gretl problem or my pc?
Thank you in advance!!
Gabriela
The problem is not easy to solve, but there's a way: let me add a boring
but short preface. All gretl's graphics are handled by creating a gnuplot
script, executing it and then sending the result to the display. All this
is done transparently. When you edit a graph, you modify the underlying
gnuplot script via some GUI elements, so when you click "Apply" the
graphic gets re-generated. This is where the problem is: gretl's GUI
interface for modifying graphics can't handle arbitrary gnuplot scripts
(nor we want it to: we're not interested in building a GUI interface to
gnuplot, which is a vast and complex language), but only those generated
internally.
The figures generated by the SVAR package contain a few extra features
that the GUI editor doesn't "understand", so if you invoke the GUI
controls, it messes up the graph. However, you can customise the graph by
editing the gnuplot script directly. Here's how: right-click on it and
"Save [it] to session as icon". Then, in the icon view, right click on the
graph icon and choose "Edit plot commands": you'll have the gnuplot source
to the graph, that you can customise in any way you want. Of course, this
entails some knowledge of gnuplot. However, if you click on the help icon
while editing a gnuplot script the gnuplot manual in pdf will be
downloaded and opened for you.
PS: I hope you don't mind if I send this message to the user-list too, as
others may want to ask the same question.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------