private void drawYHatches() {
        int numberOfYHatches = calculateNumberOfHatchesAsOddNumber();
        int distanceBetweenHatches = (int) Math.round(1.0d * getHeight() / numberOfYHatches);
        int x0 = -HATCH_LENGTH / 2;
        int x1 = HATCH_LENGTH / 2;
        int y0, y1;

        for (int i = 0; i < numberOfYHatches; i++) {
            if (i == 0) {
                drawXAxis();
            }

            y0 = i * distanceBetweenHatches;
            y1 = y0;
            g2.drawLine(x0, y0, x1, y1);

            y0 = -i * distanceBetweenHatches;
            y1 = y0;
            g2.drawLine(x0, y0, x1, y1);
        }
    }