draw grid and points
coordinate system bind to menus