Color Bar Classifying different time points
Afficher commentaires plus anciens

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 commentaires
jonas
le 4 Oct 2018
Seems fairly easy. What other data have you got? Could you upload some sample data and sketch how youd like to plot?
Systematically Neural
le 4 Oct 2018
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur White dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


