I'm using the command Show to overlay the following three regions:
r1 = RegionPlot[ 5/2 y + 3 x <= 3 && y < 2/3 && 5/2 y + x <= 2, {x, 0, 1}, {y, 0, 1}]
r2 = RegionPlot[ y < 13/12 - 13/12 x && y < 13/24 , {x, 0, 1}, {y, 0, 1}]
r3 = RegionPlot[y <= 1 - x && y < 2/3 , {x, 0, 1}, {y, 0, 1}]
Show[r1, r2, r3]
The problem is that I can't label them in the final picture and I'd like to change the colors as well to distinguish them more clearly. If possible, I'd like to plot some special points on this picture (like a few of the corners). Is there a "simple" way of doing that?
I'd appreciate any input that you may have. Thanks!
RegionPlot
and usingPlotLegends
option:RegionPlot[{eqs1, eqs2, eqs3}, {x, 0, 1}, {y, 0, 1}, PlotLegends -> {"1", "2", "3"}]
. $\endgroup$