Iterators are a bit more advanced concept than a loop, but here's a simple explanation of them.
You probably want just a simple loop. If you know how many points there are in the plot, you can use a for-loop. Otherwise, a while-loop with a break condition.
You probably want just a simple loop. If you know how many points there are in the plot, you can use a for-loop. Otherwise, a while-loop with a break condition.
for instance in number-of-times: // do stuff incrementer = initial value while condition is True: if incrementer has reached threshold value: break //do stuff incrementer += 1