Script to plot eye traces