# For more examples, see:
# https://github.com/ccamlr/CCAMLRGIS#52-adding-colors-to-data
MyPoints=create_Points(PointData)
MyCols=add_col(MyPoints$Nfishes)
plot(st_geometry(MyPoints),pch=21,bg=MyCols$varcol,cex=2)
Run the code above in your browser using DataLab