public void plotZCoordinates (Graphics2D g2) {

		g2.setFont(new Font("Arial", 20, 12));
		float xpoint = 0;
		float xpoint1 = 0;
		float zpoint = 0;	
		g2.setColor(Color.BLACK);
		g2.drawString("0", 105,330);
		DecimalFormat f = new DecimalFormat("0.#");
		int yInterval=50;
		float points = maxY / 4;
		for (int x = yInterval, j = 1; x < 250; x+=yInterval){

			g2.drawString("-", 146-diff, 100 + x + 24);
			g2.drawString("" + f.format(points * j), 115-diff, 100 + x + 20);
			j++;
		}
		g2.setColor(Color.RED);
		g2.fill(new Rectangle2D.Float(150-diff, 321, 450+diff+diff , 250 ));
		Color col[] = {Color.YELLOW,Color.PINK,Color.ORANGE,Color.PINK,Color.YELLOW,Color.ORANGE,Color.WHITE,Color.PINK,Color.YELLOW,Color.ORANGE,Color.WHITE};
		Color col1[] = {Color.MAGENTA,Color.GREEN,Color.BLUE,Color.BLUE,Color.CYAN,Color.BLUE,Color.GREEN,Color.CYAN,Color.GREEN,Color.DARK_GRAY,Color.MAGENTA};
		for (int i = 0; i < MODTOHAFSD_CalculateValues.input_lambda_st; i++){
			for (int k = 1; k <= MODTOHAFSD_CalculateValues.input_n_obs; k++) {

				if(i>11){
					col[i] = Color.YELLOW;
					col1[i] = Color.MAGENTA;
				}
				diff = (float) ( MODTOHAFSD_CalculateValues.input_ddx_km / 2);
				diff = (float) (450 * diff / maxX);		
				xpoint = (float) (450 * MODTOHAFSD_CalculateValues.x[k] / maxX);
				if (k == 1){
					GradientPaint gradient = new GradientPaint(10, 10, Color.YELLOW, 30, 200, Color.MAGENTA, true);
					g2.setPaint(gradient);
					zpoint =(float) (250 * MODTOHAFSD_CalculateValues.o_dep[k] / maxZ);
					g2.fill(new Rectangle2D.Float(150-diff, 320,diff+diff, zpoint ));
					//g2.fill(new Rectangle2D.Float(150+xpoint, 320, diff, zpoint ));
				}
				else{
					if(k<MODTOHAFSD_CalculateValues.input_n_obs) {
						xpoint1 = (float) (450 * MODTOHAFSD_CalculateValues.x[k+1] / maxX);
					}
					zpoint =(float) (250 * MODTOHAFSD_CalculateValues.o_dep[k] / maxZ);

					GradientPaint gradient = new GradientPaint(10, 10, col[i], 30, 200, col1[i], true);
					g2.setPaint(gradient);
					g2.fill(new Rectangle2D.Float(150+xpoint-diff ,320,xpoint1-xpoint, zpoint ));
				}
				if(k==MODTOHAFSD_CalculateValues.input_n_obs){
					zpoint =(float) (250 * MODTOHAFSD_CalculateValues.o_dep[k]/ maxZ);
					g2.fill(new Rectangle2D.Float(150+xpoint-diff, 320,diff+diff, zpoint ));
					//g2.fill(new Rectangle2D.Float(150+xpoint-diff ,320,diff, zpoint ));
				}

			}   
		}
		g2.setColor(Color.BLACK);
		g2.draw(new Line2D.Float(150-diff, 320, 600+diff, 320 ));
	}