How can I change the colour background in a region using plot?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160395/image.png)
0 Commenti
Risposte (1)
Mischa Kim
il 7 Apr 2014
Diego, you could plot a properly sized rectangle on top of which ( hold all ) you plot all other data.
0 Commenti
Vedere anche
Categorie
Scopri di più su Line Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!