You are looping twice by using the following two lines > "set lat 0 20" > "set lon -35 10" Before going to tloop use "set lat 0" 'set lon -35"