Put code for MATLAB plotting in different file.