Color Bar Classifying different time points
显示 更早的评论

I have three sets of time - Time1, Time2, Time3. These three time points do not overlap. I would like to make a color bar to show when it is Time1, Time2 or Time3. this is hard to describe so I attached an image with the basic design. The idea being that this would continue for whatever times are in each of the three vectors.
Please let me know if I can clarify anymore.
3 个评论
jonas
2018-10-4
Seems fairly easy. What other data have you got? Could you upload some sample data and sketch how youd like to plot?
Systematically Neural
2018-10-4
Oh, I thought you had some x-y data to go with the times. I have actually written a code for this exact type of plot before. I'll see if I can find it in my previous answers.
Edit: Here it is. I'll see if I can adapt it to your data.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 White 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


