Hi all,

I run a perfect foresight simulation and I would like to plot the paths of the endogenous variables in one graph. rplot produces a plot including all the periods of the simulation. Is there a way to restrict that? (I found this post Rplot command in the forum, but the link is dead)

Also, how can I plot all the variables in one graph with rplot?

I know that the paths are stored in oo_.endo_simul, but how is this used in the plot command?

No, there is no way to restrict the number of periods in `rplot`

. You would have to use Matlab’s plot capabilities to plot the columns of `oo_.endo_simul`

you desire for the periods you want (the rows).

Got it, thank you!