Hide plot

I want to simulate a model and obtain irfs but I do not want to display the plot. How is possible to avoid dynare to plot irfs.
Thank yuo very much for your help,
marianna

set stoch_simul(irf=time period you want, nograph)

Thank you ruben,
but If I set stoch_simul(irf=time period you want, nograph) I would get sintax error both in dynare 3 and dynare 4. What am I missing?
Thanks marianna

‘time period you want’ should be a number!!!
like 1, 2, 34, or so.
if irf=20, the irf for 20 periods is computed
if irf=0, no irf is computed

[quote=“reubenpjacob”]‘time period you want’ should be a number!!!
like 1, 2, 34, or so.
if irf=20, the irf for 20 periods is computed
if irf=0, no irf is computed[/quote]

yes, of course!!! I obviously set a number!
But I have just found the solution of my problem: I didn’t have the latest snapshot of Dynare. So when I tried no graph it didn’t work. Now with the latest snapshot it is properly working! So thank you very much for your helpful advice!! Your suggestion was righ!
marianna

[quote=“mriggi”]I want to simulate a model and obtain irfs but I do not want to display the plot. How is possible to avoid dynare to plot irfs.
Thank yuo very much for your help,
marianna[/quote]

You can just add a line in your mod file before triggering simulation.

options_.nograph=1;