The lineup for Tuesday's game featured center fielder Chris Young in the leadoff spot, second baseman Orlando Hudson in the No. 2 hole and right fielder Eric Byrnes batting third.
"Offensively, we needed a little bit of a change, so our lineup as a whole looks different today," Melvin said. "Byrnesy has been leading off. Hudson's been hitting three. ... We've significantly changed things today just to mix it up and give it a different look."
Monday's starting lineup, which managed just four hits, had Byrnes, Young and Hudson batting 1-2-3. Those three players combined to go 1-for-11 in Monday's loss.
"Young's had some success in the one hole," Melvin said. "Hudson's had success in the two hole. I want to get Byrnes in a little bit more of a prominent RBI position. Tracy's handled the four hole before. We're kind of right-left a little bit more down there."
Byrnes entered Tuesday's game batting .315 with a team-high 13 home runs and 46 RBIs. Byrnes and Hudson lead the D-backs with 46 RBIs.
"He's been doing a great job in the one hole," Melvin said of Byrnes. "It's difficult to take him out of there, yet we're having trouble driving in runs. That's one of the reasons we did it."
Hudson has been a fixture in the three spot. The All-Star second baseman had hit second in 82 games this season, every game he'd started this year.
Byrnes, who started in left field on Monday night, didn't mind the change.
"It's good," Byrnes said before Tuesday's game. "We need something. We need something to get the offense going. I'm all for it. I've always said I don't care where I hit and I don't. The bottom line is we have to mix and match to find a formula that works."
Byrnes has moved around in the lineup. He'd appear in the leadoff spot 39 times, in the No. 2 hole 10 times, in the No. 3 spot once, was hitting cleanup 28 times and batted fifth four times before Tuesday's game.
Melvin's moves were made to help shake the D-backs out of their funk with runners in scoring position. Prior to Tuesday's game, Arizona was hitting .175 (35 hits in 200 at-bats) in its last 26 games with runners in scoring position, the worst mark in the Majors.
The D-backs were hitting .105 (six hits in 57 at-bats) in their last eight games with runners in scoring position.
Arizona's lineup changes seemed to work in the first inning on Tuesday night. The D-backs got two unearned runs off Cardinals right-hander Todd Wellemeyer, with Young reaching base on an error and Hudson driving a single to left field. Young scored on Mark Reynold's sacrifice fly to right field and Hudson scored on Stephen Drew's two-out single to right-center.
Intimidation factor: Melvin spoke at length before Tuesday's game about Randy Johnson's latest trip to the disabled list. He talked to reporters about the added bonus the D-backs get with the Big Unit on the hill.
"The intimidation factor definitely comes with him," Melvin said. "We get that psychological advantage when he takes the mound, even at this age and even where he is in his career. ... That's always gone along with him. His performance is one thing. The intimidation factor that he brings to the mound is another thing. Combine those things and you have a guy that's got 280-some wins and is gonna be a Hall of Famer and maybe the most dominating left-hander in baseball history."
Melvin, however, wasn't intimidated. The D-backs' manager, a career .233 hitter as a catcher, batted .452 against Johnson in his career (14 hits in 31 at-bats).
On the farm: First baseman Jamie D'Antona had three hits, including two doubles, and two RBIs, but the Triple-A Tucson Sidewinders lost to Sacramento, 5-4. D'Antona is hitting .308 on the season, with seven home runs and 48 RBIs. ... 2006 first-round Draft pick Max Scherzer struggled in his start on Monday, allowing four runs on six hits in six innings as Double-A Mobile lost at Jacksonville, 6-2. The right-hander is now 1-2 with a 3.71 ERA for the BayBears. ... The Single-A Visalia Oaks defeated Bakersfield, 5-4, in 11 innings. Jereme Milons had four hits, including two doubles. ... Eric Butler tossed three scoreless innings and earned the victory as the Single-A South Bend Silver Hawks beat West Michigan, 4-2. ... Ramon Ramirez had three hits, but the Class A Yakima Bears lost to Eugene, 3-2. ... Chance Wheeless hit a three-run home run as Rookie League Missoula defeated Billings, 13-10.
Up next: Right-hander Livan Hernandez will take the mound at Busch Stadium opposite reliever-turned-starter Brad Thompson on Wednesday. Hernandez is 5-5 with a 4.58 ERA and is coming off a solid start against the Giants, in which he allowed three runs over eight innings. Thompson is 6-3 with a 4.88 ERA.
Nate Latsch is a contributor to MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.