added method to draw points repeatedly to a figure