public void drawTo(Graphics g){
		if(settings.drawXAxis)
			drawXAxis(g);
		if(settings.drawYAxis)
			drawYAxis(g);
		if(settings.drawXTicks)
			drawXTicks(g);
		if(settings.drawYTicks)
			drawYTicks(g);
		for(int i = 0; i < equations.size(); i++)
			drawEquation(equations.get(i),g);
		for(int i = 0; i < points.size(); i++)
			drawPoint(points.get(i),g);
	}