How to vary the color according to the data ?

3 visualizzazioni (ultimi 30 giorni)
Chayma El Amraoui
Chayma El Amraoui il 25 Lug 2018
Hello, I'm trying to create a kind of diagram with a single horizontal stick. in this one, I would like that the color varies according to the intensity. in fact, I have a two-column table with time and intensity and I would like to draw my intensity (represented by a color gradient, the higher the intensity is stronger the more it is red for example) as a function of time . I hope it's clear and you'll be able to help me. Many thanks.

Risposte (1)

Adam
Adam il 25 Lug 2018
This answer may help.
  4 Commenti
Chayma El Amraoui
Chayma El Amraoui il 27 Lug 2018
I don't know how to explain sorry. It's just a long rectangle

Accedi per commentare.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by