Azobenzene mixed-dimer rods have been prepared, whose four isomers can be orthogonally addressed with light and electrons.