The nitrogen-vacancy (N-V) center in diamond is a widely used platform for quantum information processing and sensing. The electron-spin state of the N-V center could be initialized, read out optically, and manipulated by resonate microwave fields. In this work, we analyze the dependence of electron