Plotting Multiple Data Streams with Timestamp
Mostrar comentarios más antiguos
Hi everyone,
I am struggling to vertically concatenate data streams from 3 devices on to a singular timestamped plot. The data outputs do not have the same number of columns. (I have simulated this effect by populating with zeros.) Initially, my workaround was to copy and paste the data into a singular file to create a stackedplot from a time table with smaller datasets.
I have attached my code and some example data. See Data2 in comment below.
Is there a better way to plot multiple data streams with the same x-axis timestamp than manually concatenating the data using timetable and stackedplot?
Any advice would be much appreciated. Many thanks for considering my request!
5 comentarios
CW
el 17 de Nov. de 2020
dpb
el 18 de Nov. de 2020
What does " vertically concatenate data streams from 3 devices" really mean and what do you want the plot to look like?
Is there to be one trace for each device or channel/device/file or for all columns total or...?
How are the columns from one device related to those of another (or are they)?
Need better description of just what we are looking at and what is wanted.
It would help to use/paste code and small sets of data as text so can read in context rather than have to downlowad a bunch of files and then try to figure out what they are. And, a sketch of the desired plot arrangment would be invaluable...
dpb
el 19 de Nov. de 2020
Let's start with the basics -- how do you get the data from each device and what do you have that identifies what is in each?
Why can't you just read each file and plot what's in it and then go on to the next?
Is this in real time or post-processing data collected first?
CW
el 19 de Nov. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Type Conversion 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!