OK so I have plotted a 3-d graph z = x-y*15/36
on gnuplot but I am trying to find points on this function where both the x
and y
values are integers I am aware that conditions can be set with the ternary operator but I cannot find any type of comparator or function that would let me set the function to only accept integer x
and y
values.
I have searched the help in gnuplot and found nothing and an hour search on Google did not help either. Any advice on how to solve this is appreciated, even if I have to use another graphing software.