The set y2mtics command changes tics on the y2 (right-hand) axis to months of the year. Please see set xmtics for details.