Another way to generate all the points is by using Reduce
:
points = {x, y} /.
List@ToRules@
Reduce[x >= 4 y && x <= 4 y + 3 && 0 < x < 63 && 0 < y < 15, {x, y}, Integers]
If you give bounds (and thus constrain the possible solutions to a finite set), Reduce
will typically list all solutions.
Then just plot them with Point
or ListPlot
:
ListPlot[points]
Show them together with the RegionPlot
:
Show[ListPlot[points], RegionPlot[...]]
Thanks to Mr.Wizard to pointing me to the following relevant note in the documentation:
Mathematica enumerates the solutions explicitly only if the number of integer solutions of the system does not exceed the maximum of the $p^{\text{th}}$ power of the value of the system option DiscreteSolutionBound
, where $p$ is the dimension of the solution lattice of the equations, and the second element of the value of the system option ExhaustiveSearchMaxPoints
.