How can I change the colour background in a region using plot?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Mischa Kim
el 7 de Abr. de 2014
Diego, you could plot a properly sized rectangle on top of which ( hold all ) you plot all other data.
0 comentarios
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!