Two curves of model and actual data on the shock decomposition graph

Hi Prof. Pfeifer and to all,
How to place two curves of model and actual data on the shock decomposition graph
Thank you,
Leonid

Doesn’t Dynare already do that by default? If not, you need to read out the respective variables in

oo_.shock_decomposition

and plot them along with the variable itself. See also How to predict with only one shock?