Intuitively pan and zoom a plot using mouse drag'n'drop and mouse-wheel in python matplotlib or MATLAB.