We investigate the evolution of the rotational axes of exoplanets under the action of gravitational and magnetic perturbations. The planet is assumed to be dynamically symmetrical and to be magnetised along its dynamical-symmetry axis. By qualitative methods of the bifurcation theory of multiparametric PDEs, we have derived a gallery of 69 phase portraits. The portraits illustrate evolutionary trajectories of the angular momentum L → of a planet for a variety of the initial conditions, for different values of the ratio between parameters describing gravitational and magnetic perturbations, and for different rates of the orbital evolution. We provide examples of the phase portraits, that reveal the differences in topology and the evolutionar...