# Multiple IRFs on one graph

**URL:** https://forum.dynare.org/t/multiple-irfs-on-one-graph/3202
**Category:** Dynare contributions and examples
**Created:** [30 May 2013 12:15 UTC](https://forum.dynare.org/t/multiple-irfs-on-one-graph/3202 "2013-05-30T12:15:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![asmae](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/ed655f/32.png) [@asmae](https://forum.dynare.org/u/asmae)
#### Post date: [30 May 2013 12:15 UTC](https://forum.dynare.org/t/multiple-irfs-on-one-graph/3202/1 "2013-05-30T12:15:21Z")

</div>

Hello,

I need to obtain a graph showing the reponses of different variables to an exogenous shock. Please can any one tell me what’s the command to introduce in my code for that?

Thanks

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [30 May 2013 15:49 UTC](https://forum.dynare.org/t/multiple-irfs-on-one-graph/3202/2 "2013-05-30T15:49:18Z")

</div>

Put the names of the endogenous variables after the stoch\_simul or estimation commands. If you meant how to put more than 1 IRF in one panel of a graph: this can only be done manually.

---

<div class="post-metadata">

### Author: ![tom\_mercer](https://forum.dynare.org/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@tom\_mercer](https://forum.dynare.org/u/tom_mercer)
#### Post date: [16 February 2014 13:47 UTC](https://forum.dynare.org/t/multiple-irfs-on-one-graph/3202/3 "2014-02-16T13:47:11Z")

</div>

Could you please explain how this is done? Ie. multiple IRFs within one graph? Is there a command in Dynare? I have searched and searched but cannot find.

All the best,

Tom

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [18 February 2014 08:49 UTC](https://forum.dynare.org/t/multiple-irfs-on-one-graph/3202/4 "2014-02-18T08:49:53Z")

</div>

The IRFs are stored in oo\_.irfs. Just use Matlab plot functions to create your desired graph. See also [[Q: combining IRFs into subplotted figures & iterating?](https://forum.dynare.org/t/q-combining-irfs-into-subplotted-figures-iterating/3609/1))
