plot mass profile