 The lines and spaces are numbered from bottom to top; the bottom line is the "first line" and the top line is the "fifth line".The musical staff is analogous to a mathematical graph of pitch with respect to time.Pitches of notes are given by their vertical position on the staff and notes are played from left to right.