
//Ajuste de escala x
while (v0ce*ex>280)
	{
          ex=ex-0.1;
          PaintBox2->Refresh( );


         }



//Ajuste de escala y
while (b*ey>230)
	{
          ey=ey-100;
          PaintBox2->Refresh( );

         }


//Inicia grafica


while (y>0)
	{


        y=(m*x+b);


         xx=x*ex;
         yy=y*ey;


         PaintBox2->Canvas->LineTo(xx+20, 260-yy);

         x=(x+0.1);


        }