Custom value time trace plot

A plot to visualize the change over time of up to three arbitrary numbers.

Each time-step, the plot updates to also show the latest information from all its inputs.

Input

  • t: timedimension - required to set the x-axis of the plot. Nothing is shown if this is not set
  • Scalar: real number - an optional scalar value to be traced
  • Scalar: real number - an optional scalar value to be traced 
  • Scalar: real number - an optional scalar value to be traced 

Content

The main content is the plot itself. Each time the t-input is updated, the plot will show the current value of each of the valid inputs, appended to the previous data. 

In the bottom of the node are options to set the y-axis limits and the behaviour of the x-axis: if the "scroll" checkbox is checked, the x-axis will move and always only show a t-range from $[t_{current}-width, t_{current}]$, where width can be set in the lower-right textbox. If "scroll" is unchecked, the x-axis will squeeze to contain all information.

Currently, changing settings somewhere after t has been updated for some time may give weird behaviour.