private void drawYValues() {
		mySketch.fill(0);
		mySketch.textSize(valueSize);
		mySketch.textAlign(PApplet.RIGHT);

		float ySize = plotY2 - plotY1;
		float nextYPlace = plotY1;
		float fixedXPlace = plotX1 - 5;

		float yValue = yMax;
		float yInterval = (yMax - yMin) / valueDivisions;

		DecimalFormat decimalForm = new DecimalFormat("#.#");

		for (int i = 0; i < valueDivisions + 1; i++) {

			float textOffset = mySketch.textAscent() / 2; // PApplet.CENTER
															// vertically
			if (i == valueDivisions) {
				textOffset = 0; // Align by the bottom
			} else if (i == 0) {
				textOffset = mySketch.textAscent(); // Align by the top
			}
			mySketch.text(decimalForm.format(yValue), fixedXPlace, nextYPlace
					+ textOffset);
			mySketch.line(plotX1, nextYPlace, plotX2, nextYPlace);

			yValue -= yInterval;
			nextYPlace += ySize / valueDivisions;
		}
	}