drawlater

drawlater — makes axes children invisible.

Calling sequence

drawlater() 

Description

This function can be used to not display on the screen all graphics objects called by its basic drawing commands. Their Visibility property is set to "off" .

It can specially be used with the drawnow function.

To return to the visible mode, it will be necessary to set a Visibility property of the current figure entity to "on" . It's equival to make drawnow("all").

Examples



  set("figure_style","new") // select entity based graphics
  drawlater(); 
  xfarc(.25,.55,.1,.15,0,64*360);
  xfarc(.55,.55,.1,.15,0,64*360);
  xfrect(.3,.8,.3,.2); 
  xfrect(.2,.7,.5,.2);  
  xfrect(.32,.78,.1,.1);
  xfrect(.44,.78,.14,.1);
  xfrect(-.2,.4,1.5,.8);
  xstring(0.33,.9,"A Scilab Car");    
  a=get("current_axes");
  a.children(1).font_size=4;
  a.children(1).font_style=4;  
  a.children(1).foreground=5;
  a.children(3).foreground=8;
  a.children(4).foreground=8; 
  a.children(5).foreground=17;
  a.children(6).foreground=17; 
  a.children(7).foreground=25;
  a.children(8).foreground=25;
  xclick();drawnow();
 
  

See also

get, set, drawnow, graphics_entities

Author

Djalel ABDEMOUCHE