Suppose I want to look at the region defined by the conditions
\begin{align}x\leq y && x<2\\\text{OR}\quad x\geq y&& x\geq2 \end{align}
I plot this using the command
RegionPlot[x <= y && x < 2 || x >= y && x >= 2, {x, 0, 5}, {y, 0, 5}]
which gives the image below.
Why does this image look the way it does at x=2,y=2, and how can I fix it?
More specifically, I think the regions should only intersect at a point, and should form like a "tilted X". But where the lines cross there is some "width"?
PlotPoints
orMaxRecursion
or both , e.g.,PlotPoints -> 100]
, and/orMaxRecursion -> 7
? $\endgroup$