asardaes / dtwclust

R Package for Time Series Clustering Along with Optimizations for DTW
https://cran.r-project.org/package=dtwclust
GNU General Public License v3.0
252 stars 29 forks source link

What do the colors and vertical lines mean in plot.TSClusters? #66

Closed maellecoursonnais closed 4 months ago

maellecoursonnais commented 7 months ago

Hello,

I could not find anything in the documentation about the different colors used in the plots, and the vertical lines. Do they bear some meaningful information? Can you point me to some documentation, or maybe directly answer here?

Here is some reproducible data:

library(dtwclust)
data("uciCT")

mvc <- tsclust(CharTrajMV, k = 4L, distance = "gak", seed = 390L)
plot(mvc, type = "series")

image

asardaes commented 7 months ago

The colors are just random to try to make it easier to differentiate between series. The vertical lines separate each variable from a multivariate series.