MATLAB function for dynamically plotting arbitrary linecuts in 2D data