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!


