Color Bar Classifying different time points
Mostrar comentarios más antiguos

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 comentarios
jonas
el 4 de Oct. de 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
el 4 de Oct. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre White 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!


