I did how to draw a line along the coordinates, but I don’t know how to color it.
a=[110 120 70 140 150]
b=[20 30 40 50 80]
red=[3 2 1 2 3]
it shows how this can be done in another program. I have such a question, is it possible to do this in Matlab ???
p.s. the main thing is that on the line it would be possible to distinguish between changes