Three ferromagnetic complex nanostructures (flower, sheaf, and cactus) of Co-doped ZnO thin films were selectively grown from 1D to 3D.