I have a ListPlot with vertical and horizontal lines. I would like to color the resulting rectangles by something like "Fill with Green if less than both line 1 & line 3". However, I can't figure out how to make this logic work with Filling.
Two examples of non-working code below: The first displays a strange band of green underneath line 1.
ListPlot[{
(*Horizontal line 1*){{0, 5}, {35, 5}},
(*Horizontal line 2*){{0, 10}, {35, 10}},
(*Vertical line 3*){{5, 0}, {5, 35}},
(*Vertical line 4*){{10, 0}, {10, 35}}},
Joined -> True,
Filling -> {1 -> 3}, FillingStyle -> LightGreen]
The second displays no filling at all.
ListPlot[{
(*Horizontal line 1*){{0, 5}, {35, 5}},
(*Horizontal line 2*){{0, 10}, {35, 10}},
(*Vertical line 3*){{5, 0}, {5, 35}},
(*Vertical line 4*){{10, 0}, {10, 35}}},
Joined -> True,
Filling -> {1 -> {3}}, FillingStyle -> LightGreen]
Eventually the locations of the lines will be controlled via Manipulate. Thanks for any advice!