Plotting differential equations solutions with varying color

This is not using the recipe since you explicitly told it what arrays you wanted to plot.

If you did line_z = sol0.t, well, that isn’t going to be the right length array since it needs to match the interpolation length.

The workaround is to manually interpolate and plot. But open an issue. What we will need to handle is line_z = 0 and then it would need to build the array in the recipe itself.

1 Like