function ee_plotHarmonics( varargin )
%ee_plotHarmonics Plot harmonic data for given Simscape logging node variable
%  Given a Simscape logging node variable, plot a bar chart of harmonic
% magnitudes.
%
% Input arguments, with default in square brackets []:
% *) loggingNode - required input, simlog Simscape logging node with a
% valid series property
% *) valueIdx [1] - signal index of series data
% *) tOfInterest [end] - simulation time of interest for harmonic
% calculation
% *) nPeriodOfInterest [12] - number of periods of interest before
% simulation time of interest for harmonic calculation
% *) offsetOfInterest [0] - bias (DC) offset in the input signal at the
% simulation time of interest for harmonic calculation
% *) nHarmonics [30] - number of harmonics to include in plot

% Copyright 2013-2018 The MathWorks, Inc.

ee.internal.signal.plotSimscapeLoggingNodeHarmonicBar( varargin{:} );

end

