Module plot

Module plot 

Source
Expand description

§Plot

This module contains the functions for plotting the results of the measurements. This is done using the time_plot function which this module provides.

The time_plot function takes as inputs:

  • A path to save the plot to
  • a Measurements struct, which contains the results of the measurements
  • a PlotConfig struct, which contains the configuration for the plot

The PlotConfig struct can be created using the builder pattern, configurable option are:

Structs§

PlotConfig
Configuration for plotting.

Enums§

Scale
The scale of the plot.

Functions§

time_plot
Plots the data from the Measurements using plotters. The plot is saved to the file specified by file_name, the file created will be an SVG file.