Dynare has comments to plot the results of a simulation and to save the results.
rplot
dynatype
dynasave