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

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 日

0 投票

Diego, you could plot a properly sized rectangle on top of which ( hold all ) you plot all other data.

カテゴリ

質問済み:

2014 年 4 月 7 日

回答済み:

2014 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by