function for point plotting
Merge remote-tracking branch 'origin/master'