How do I plot one timeseries vs another from the command line?
Mostrar comentarios más antiguos
I have two timeseries. I want to plot them vs each other in an XY plot. Is this possible to do this like in the tstool "XY Plots" option? I want to do this from the command line and not from tstool.
Respuesta aceptada
Más respuestas (1)
Tamas Majoros
el 15 de Ag. de 2018
0 votos
Nice thing about timeseries is the built-in utility methods:
[xTs,yTs] = synchronize(xTs,yTs,'Union'); plot(xTs.Data,yTs.Data)
Categorías
Más información sobre Time Series en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!