We determine all graphs $G$ such that $G$ and its complementary graph $\bar G$ have exactly one (or, respectively, exactly two) positive eigenvalues.