Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語

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

Aide Scilab >> Graphiques > 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';

See Also

  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • set — set a property value of a graphic entity object or of a User Interface object.
  • drawnow — draw hidden graphics entities.
  • drawlater — makes axes children invisible.
  • graphics_entities — description of the graphics entities data structures

Authors

Djalel ABDEMOUCHE, F.Leray

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:00 CEST 2011