open(OUT, ">plot.gif") or warn "can't open! $!";