MCPcopy Create free account
hub / github.com/TobiaMarcucci/pympc / plot_state_space_trajectory

Function plot_state_space_trajectory

pympc/plot.py:5–52  ·  view source on GitHub ↗

Plots one component of the state x as a function of another (2d plot). Arguments ---------- x : list of numpy.ndarray Trajectory of the state. dim : list of int List of the indices of the components of the state that we want to plot (2 indices).

(x, dim=[0,1], text=False, label=None, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

plotMethod · 0.80

Tested by

no test coverage detected