dtwPlot¶
- dtw.dtwPlot(x, type='alignment', **kwargs)¶
- Plotting of dynamic time warp results - Methods for plotting dynamic time warp alignment objects returned by [dtw()]. - Details - dtwPlotdisplays alignment contained in- dtwobjects.- Various plotting styles are available, passing strings to the - typeargument (may be abbreviated):- alignmentplots the warping curve in- d;
- twowayplots a point-by-point comparison, with matching lines; see [dtwPlotTwoWay()];
- threewayvis-a-vis inspection of the timeseries and their warping curve; see [dtwPlotThreeWay()];
- densitydisplays the cumulative cost landscape with the warping path overimposed; see [dtwPlotDensity()]
 - Additional parameters are passed to the plotting functions: use with care. - Parameters:
- x – dtw object, usually result of call to [dtw()] 
- d – dtw object, usually result of call to [dtw()] 
- xlab – label for the query axis 
- ylab – label for the reference axis 
- type – general style for the plot, see below 
- plot_type – type of line to be drawn, used as the type argument in the underlying plot call 
- ... – additional arguments, passed to plotting functions