Plücker formula and the equisingularity set of a linear system Flattenings of projective curves, singularities of Schubert stratifications of Grassmannians and flag varieties, and bifurcations of Weierstrass points of algebraic curves 