When writing out grids often only the curves in one direction are written. To view a grid from the curves you can use the gr_uv2vu tool:
gr_uv2vu -f grid.dat | gr_copy -pipe -f grid.dat | xvgr -pipe