Can set the number of plotted points