Listening to as many guitar solos as possible is the best method for someone in the early stages. But saxophone solos can be helpful. They're interesting because they're all single notes, and therefore can be repeated on the guitar. They're interesting because they're all single notes, and therefore can be repeated on the guitar. If you can copy a sax solo you're playing very well, because the average saxophonist can play much better than the average guitarist.
Ritchie Blackmore, in: Guitar Player. Vol. 7. (1973). p. 235: