How can I change the colour background in a region using plot?

3 次查看(过去 30 天)
I have been trying to change the colour background of a concrete region in a plot but I don't know how can I do it. I would be very gratefull if you can help me to resolve this problem. I would like changing the colour of the region between the red lines that you can see in the next image. Thanks in advance!

回答(1 个)

Mischa Kim
Mischa Kim 2014-4-7
Diego, you could plot a properly sized rectangle on top of which ( hold all ) you plot all other data.

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by