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
Best Answer