To achieve the marbled effect in the cake, alternate pouring the vanilla and chocolate batters into the cake pan and then use a knife or skewer to swirl the two together.