Hi, i want to plot on the same graph 30 curves with colour gradient decreasing from the first to the last curve (from yellow to red). I have tried this code :
c = colormap(jet(1000))figureplot((1:num_images),augm(1:30,1:num_images),'Color',c(600:10:880,:)','-')
- My variable augm is a matrix of num_images*30.
- When I run the program without the color part ('Color',c(600:10:880,:)'), it runs perfectly fine but i do not have my gradient of colours…
I think I did not understand completely the 'Color' function.
Could you help me with this ?
Thank you !
Best Answer