plot an array with different colors for the height

1 visualización (últimos 30 días)
Dirk kok
Dirk kok el 11 de Jul. de 2014
Comentada: Dirk kok el 11 de Jul. de 2014
I have an array of data which I currently plot using bar3. Now I want to use the height information as an indication for color: i.e. at low values (0) blue changing to high values (1) red (or something similar). How would I go about doing this?
I have a picture attached of what I currently have. I want to be able change the coloring work long the z axis.

Respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by