Dynare code for plotting IRFs

Dear all,
I am doing stochastic simulations of two models with the command stoch_simul: the first without idiosyncratic risk, the second with idiosyncratic risk. If I want to do a comparison between the IRFs of the two models for each variable, for example first just plot labor hours in the two model, then plot just the output, then plot just bond holdingsā€¦ which codes do I have to use to plot them as explained?

Thank you in advance

Hi Marco1,

if I understand correctly you want to do subplots and compare them. If this is the case, you have to do this in Matlab. This questions has been answered many times in the forum, one example being here.

Sorry for answering late. I tried in many ways looking at the forum but without finding the desired plots.
Here is my code:
Plotting.m (868 Bytes)

Please do not double post. I replied at Q: combining IRFs into subplotted figures & iterating? - #66 by jpfeifer