Changing the points in plots

trying to use dynamic instantiaion