working plots using map
for loop for map