Field effects on the electronic and spin properties of undoped and doped graphene nanodots