Shellminator V3.0.1
Simple Terminal
|
Sometimes, it's not just the current value of a measurement that matters, but also how it changes over time. Examples include temperature trends, stability monitoring, or control system setpoints.
For such cases, a plot is extremely useful, as it allows us to visualize changes over time.
Luckily, creating a plot with Shellminator is easy! Let's walk through the steps.
First, you'll need to include the plot module:
Currently, Shellminator’s plotter is quite simple —it only supports one-dimensional data vectors.
While it may not be as advanced as Matplotlib, it runs on tiny AVR microcontrollers with minimal memory!
It’s a good practice to calculate the number of data points automatically like in the example above.
Now, create a ShellminatorPlot object and pass the data:
The plot name can be anything you like—just make sure it describes your data well!
Finally, to show the plot on the screen, just call: