MCPcopy Index your code
hub / github.com/PyTTaMaster/PyTTa / plot

Method plot

pytta/classes/analysis.py:679–725  ·  view source on GitHub ↗

Plot the analysis data in fractinal octave bands. Parameters (default), (type): ----------------------------- * dataLabel ('Analysis type [unit]'), (str): legend label for the current data * errorLabel ('Error'), (str): legen

(self, **kwargs)

Source from the content-addressed store, hash-verified

677 return
678
679 def plot(self, **kwargs):
680 """Plot the analysis data in fractinal octave bands.
681
682 Parameters (default), (type):
683 -----------------------------
684
685 * dataLabel ('Analysis type [unit]'), (str):
686 legend label for the current data
687
688 * errorLabel ('Error'), (str):
689 legend label for the current data error
690
691 * xLabel ('Time [s]'), (str):
692 x axis label.
693
694 * yLabel ('Amplitude'), (str):
695 y axis label.
696
697 * yLim (), (list):
698 inferior and superior limits.
699
700 >>> yLim = [-100, 100]
701
702 * title (), (str):
703 plot title
704
705 * decimalSep (','), (str):
706 may be dot or comma.
707
708 >>> decimalSep = ',' # in Brazil
709
710 * barWidth (0.75), float:
711 width of the bars from one fractional octave band.
712 0 < barWidth < 1.
713
714 * errorStyle ('standard'), str:
715 error curve style. May be 'laza' or None/'standard'.
716
717 * forceZeroCentering ('False'), bool:
718 force centered bars at Y zero.
719
720 Return:
721 --------
722
723 matplotlib.figure.Figure object.
724 """
725 return self.plot_bars(**kwargs)
726
727 def plot_bars(self, dataLabel:str=None, errorLabel:str=None,
728 xLabel:str=None, yLabel:str=None,

Callers 9

timeFunction · 0.80
time_dBFunction · 0.80
plot_paramMethod · 0.80
plot_lundebyFunction · 0.80
deconv_methods.pyFile · 0.80
_roomac_testing.pyFile · 0.80
roomir_calc_RT.pyFile · 0.80

Calls 1

plot_barsMethod · 0.95

Tested by

no test coverage detected