wv
wv copied to clipboard
Strange units single wavelet plot in compare_wvar
If I call compare_wvar with a single wavelet variance object, then the plot is "degenerated", see image below.
- Title is default one, instead of the one specified
- x-axis label is default one, instead of specified one
- y-axis label is default one, instead of the specified one
- Units are default ones, instead of the specified ones
- Units show strange characters
Call of the function as follow:
plotObj = do.call(compare_wvar, c(waveletVariances, list(split=FALSE, auto.label.wvar=FALSE, axis.x.label=xLabel, axis.y.label=yLabel, units=c(unitGyroVar, unitAccVar), title=title, legend.label=legendLables)))
Same call with two wavelte variance objects: