Skip to main content

Debug

Plotting Evolution over Time

To easily plot a Temporal Variable once the system is solved, called its .to_plot() method:

# Create the system
acceleration = vip.temporal(-9.81)
velocity = vip.integrate(acceleration, x0=0)
height = vip.integrate(velocity, x0=10)

velocity.to_plot()
height.to_plot()

vip.solve(10)

to_plot() demo