Open Photoshop and create a new document ... holding the Shift key to keep it locked on the y-axis. Create a new gradient in the Fill drop-down menu, to the left of the Options bar.