How to vary the color according to the data ?

3 Ansichten (letzte 30 Tage)
Chayma El Amraoui
Chayma El Amraoui am 25 Jul. 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.

Antworten (1)

Adam
Adam am 25 Jul. 2018
This answer may help.
  4 Kommentare
Chayma El Amraoui
Chayma El Amraoui am 27 Jul. 2018
A kind of bar
Chayma El Amraoui
Chayma El Amraoui am 27 Jul. 2018
I don't know how to explain sorry. It's just a long rectangle

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by