add title option in gridfig.m