What does vars do in plot?

Hello. I am using Julia for my research, and I have question.
What does ‘vars’ do in plot?

For example, when I put ‘vars=(0, [1, 2])’ in plot function, what does this mean?
I know that changing vars affects the plot, but I could not understand what it do actually.
I found some answers about this, but I could not understand how it works.

Thank you.

Does this help?

I read this page, but I can’t find any ‘vars’ in the website in the answer at that page.

That answer is a few years old and DiffEq has seen a lot of breaking changes, but e.g. version 6 has vars in the docs:


1 Like

Thank you! This is exactly what I was looking for!