code: public void printCoordinate(int[] index, long[] data, int offset) {
          int size = index.length;
          if (size != data.length)
              throw new IllegalArgumentException(
                      "All arrays must be of the same size");
          for (int i = 0; i < size; ++i)
              format(Locale.ENGLISH, "%10d %10d%n", index[i] + offset, data[i]);
      }
docs: Prints the coordinate format to the underlying stream. One index and
  entry on each line. The offset is added to the index, typically, this can
  transform from a 0-based indicing to a 1-based.