Dereck Rodriguez threw 6 1/3 scoreless innings and was backed by homers from Brandon Crawford, Andrew McCutchen and Joe Panik in a 7-0 victory over Arizona, the Giants' ninth win in their last 11 games. D-backs right-hander Shelby Miller struggled in his second start since returning from Tommy John surgery, giving up six runs over five innings .