DISPG command

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 562
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

DISPG command

Message par compsystems » sam. déc. 22, 2018 12:54 pm

Hi, BP

After each pause, the DISPG command does not work. only until the end of the execution the external graphing window is updated, It is very important to show the image in steps, using the PAUSE command

Code : Tout sélectionner

function Midpoint()
  var A_,B_,Ax,Ay,Bx,By,MP;
  ClrIO; 
  DispG;
  A_:=point(1,2);
  Pause; DispG;
  B_:=point(-2,-2);
  Pause; DispG;
  Ax:=abscissa(A_); 
  Ay:=ordinate(A_);
  Bx:=abscissa(B_); 
  By:=ordinate(B_); 
  MP:=point((Ax+Bx)/2,(Ay+By)/2);
  return A_,B_,MP;
ffunction:;
Midpoint() [Enter]

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: DISPG command

Message par parisse » sam. déc. 22, 2018 1:35 pm

Why don't you just keep the graphic window displayed?

compsystems
Messages : 562
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: DISPG command

Message par compsystems » sam. déc. 22, 2018 1:47 pm

The previous example is trivial, in many cases it is desired in the classroom, for example, to show a part of a graph, then another part of the graph, instead of showing the final result.

Répondre