Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab manual >> Graphics Library > handle > draw

draw

draw an entity.

Calling Sequence

draw()
draw(h)

Arguments

h

a handle, the handle on an entity to draw. h can be a vector of handles, in which case all objects identified by h(i) will be drawn.

Description

This function can be used to draw entities specified by h even if its parent figure immediate_drawing property is "off". If no argument is specified, the current object is drawn. Note that the window must not be resized ; if not, those objects are hidden back.

Examples

subplot(212)
a=gca();
plot2d
drawlater

subplot(211)
plot2d1 // default drawing mode

e=gce();
draw(e.children(2)) // draw a single polyline of the second axes

e.children(1).visible='off'; // We can choose to make a line invisible

draw(e) // draw Compound and its children <=> draw all the visible polylines

drawnow // ...now!

e.children(1).visible='on';

Authors

Djalel ABDEMOUCHE, F.Leray

<< delete handle gce >>

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:
Wed Jan 26 16:23:46 CET 2011