Best explanation I can think of would be @Tom_Gilroy 's:
@Moje already mentioned Yngwie, which was the first guitarist I thought of when it came to patterns that aren’t “straight up and down”. I’ve heard that John Mclaughlin does something similar with patterns of four (I think, I’m not too familiar of his work).
Of things that I’ve personally learned / played, John Petrucci does have some cool phrases that mix things up, as well as Shawn Lane. I also know one-off examples of other players, but those two are talked about a good amount here and elsewhere.