plot to canvas with grid