Add script for bisecting latex plot error