Here are your questions:
a = {1, 5, 10, 15}; b = {2, 4, 6, 8}; c = {1, 1, 0, 1};
(I removed the last element from c to make it the same length as a and b ). I suggest separately making images for points with zeros and ones, and then combining them - this seems to be the easiest in this situation:
showPoints[a_, b_, c_] := With[{coords = Transpose[{a, b}]}, With[{plotF = ListPlot[Pick[coords, c,
Here is the usage:
showPoints[a, b, c]

Leonid Shifrin
source share