Based on an array containing x-values, I want to fill my entire plot area with either black, yellow or green, based on the x-value.
How can this be done?
The reason for this is to fill the background of lines that will be plotted on top of this fill color.