How can i represent elevation (z) in different colors using plot function?
Mostrar comentarios más antiguos
I' am plotting distance (h) which is the x-axis against elevation (z)which is y-axis using the plot function in MATLAB.
The output figure i get is a single red line. But i want to represent the single line in different colors according to elevation with a color bar
cheers
Respuesta aceptada
Más respuestas (1)
antonio
el 2 de Oct. de 2015
0 votos
sorry may question i think is simpler but i don't know how to do it, i have let's say 10 orbits in the same figure and each orbit have a different energy level, i want that each line with a different colour based on the energy and the same as colourmap jet..thanks for the answer
Categorías
Más información sobre Polygons 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!
