xplot function

Repeat specified plot across multiple columns of a matrix