# How to change the x-axis

Hey, I am trying to reproduce these figures, because I found a mistake in the code of the authors.

And now I want to check what difference the ‘correct’ code will make.
Unfortunately, I don’t know how to change the x-axis from time-periods (0 to 15) to the parameters \lambda and \theta_w and make them go from 0 to 1. How does that work?

Here is my code
mo_03.mod (4.7 KB)
which includes the plotting of Figure 1. Which looks like this:

Thank you very much in advance!

You need to loop over the parameters and save the impact response. See Loop over parameters - #2 by jpfeifer for the basic setup.

1 Like