CW, if I am undersatand correctly, you are looking for the same kind of chart that stackedplot makes, for multi-rate data. The only way to get a stackedplot currently is to have one timetable. You'd want to horzcat your three different timetables, but you have multi-rate data, so the only way to "horzcat" them is to use synchronize to upsample or downsample to one common time vector.
It's hard to say from your figure if resampling would mess you up or not. It would be useful to hear if it would, and why. The obvious reason is that it would be either adding data that you don't really have, or removing data that you do have.
5 Comments
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1141703
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1141703
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1143363
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1143363
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1144568
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1144568
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1144878
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1144878
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1146863
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/651538-plotting-multiple-data-streams-with-timestamp#comment_1146863
Sign in to comment.