nce containing the data. %(Spectral)s %(Single_Spectrum)s scale : {'default', 'linear', 'dB'} The scaling of the values in the *spec*. 'linear' is no scaling. 'dB' returns the values in dB scale, i.e., the dB amplitude (20 * log10). 'default' is 'linear'. Fc : int, default: 0 The center frequency of *x*, which offsets the x extents of the plot to reflect the frequency range used when a signal is acquired and then filtered and downsampled to baseband. Returns ------- spectrum : 1-D array The values for the magnitude spectrum before scaling (real valued). freqs : 1-D array The frequencies corresponding to the elements in *spectrum*. line : `~matplotlib.lines.Line2D` The line created by this function. Other Parameters ---------------- data : indexable object, optional DATA_PARAMETER_PLACEHOLDER **kwargs Keyword arguments control the `.Line2D` properties: %(Line2D:kwdoc)s See Also -------- psd Plots the power spectral density. angle_spectrum Plots the angles of the corresponding frequencies. phase_spectrum Plots the phase (unwrapped angle) of the corresponding frequencies. specgram Can plot the magnitude spectrum of segments within the signal in a colormap. Nr