Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


drawnow

draw hidden graphics entities.

Syntax

drawnow()

Description

Considering the current figure, this function can be used to draw the hidden graphics entities and all its children, that may have been postponed by a previous call to drawlater. The immediate_drawing property of the current figure is set to "on".

It can specially be used with the drawlater function.

Examples

f=get("current_figure") // handle of the current figure

drawlater()
subplot(221);
t=1:10;plot2d(t,t.^2)
subplot(222);
x=0:1:7;plot2d(x,cos(x),2)
subplot(234);
plot2d(t,cos(t),3);
subplot(235);
plot2d(x,sin(2*x),5);
subplot(236);
plot2d(t,tan(2*t));

drawnow(); // draw the current figure

See also

  • get — Gets the handle of a graphical or User Interface object, or the property's value of objects.
  • set — set properties of some graphic objects or uimenus or uicontrol interactive components
  • drawlater — makes axes children invisible.
  • graphics_entities — описание структур данных графических объектов
Report an issue
<< drawlater figure_operations figure properties >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:55:07 CEST 2024