3.2.3. Plot

hysteresis.defaultPlotFuncs.defaultPlotFunction(self, x, y, plotCycles, plotPeaks, labelCycles=[], **kwargs)[source]
Parameters:
  • x (array) – The input x values as an numpy array.

  • y (array) – The input y values as an numpy array.

  • plotCycles (bool) – A switch that specifics if cycle reversal points should be plotted.

  • plotPeaks (bool) – A switch that specifics if peak values should be plotted.

  • labelCycles (list or 'all', optional) – A list of the cycles to be labled. A value of ‘all’ can also be specified, in which case all cucles will be plotted. The default is [], which labels no cycles

  • Cycles (kist, optional) – A list of the cycles to be plotted. If not specified, all values will be plotted. The default is [], which plots all cycles.