I'm trying to create a region of "thick" grid-lines, like so:
GRID = ImplicitRegion[((0 <= x <= 1 || 2 <= x <= 3 || 4 <= x <= 5 || 6 <= x <= 7 ||
8 <= x <= 9) || (0 <= y <= 1 || 2 <= y <= 3 || 4 <= y <= 5 ||
6 <= y <= 7 || 8 <= y <= 9)), {{x, 0, 9}, {y, 0, 9}}];
which with RegionPlot[GRID]
produces
However, I would like to be able to make my grid an arbitrary size, and arbitrary thickness. So far I have tried using
GRID2 = ImplicitRegion[Mod[x, 5] <= 1 || Mod[y, 5] <= 1, {{x, -10, 10}, {y, -10, 10}}]
but when I try to plot this, Mathematica tells me it's an invalid region to plot. I've also tried Floor
-ing the x and y prior to Mod
-ing, but it makes no difference. Are there any suggestions on a better way of doing this?
EDIT: It's probably worth pointing out that I plan on using this region as the domain specification of a ParametricPlot3D
.