Scilab 6.0.0
- Scilab Help
- Graphics
- 2d_plot
- 3d_plot
- annotation
- axes_operations
- axis
- bar_histogram
- Color management
- Datatips
- figure_operations
- geometric_shapes
- handle
- interaction
- lighting
- load_save
- pie
- polygon
- property
- text
- transform
- window_control
- GlobalProperty
- Graphics: Getting started
- Compound properties
- Graphics Entities
- object editor
- pixel_drawing_mode
- Segments properties
- twinkle
- xchange
- xdel
- xget
- xgetech
- xgraduate
- xgrid
- xname
- xnumb
- xsegs
- xset
- xsetech
Scilab Help >> Graphics > twinkle
twinkle
is used to have a graphics entity blinking
Syntax
twinkle twinkle(n) twinkle(h) twinkle(h,n)
Arguments
- h
handle of the unique graphics entity to blink. By default, the current graphic entity handled with
gce()
is considered.- n
positive integer number: the number of blinks. Default n = 5.
Description
twinkle
blinks n
times the graphical entity
handled with h
. If twinkle()
is run while no
graphical figure exists, it does nothing and returns. If the handle h
is invalid (the entity has been deleted in the meantime),
twinkle(h..)
yields an error.
Examples
clf plot() twinkle // twinkles the last group of curves plotted in the plot() example twinkle(3) // twinkles it only three times clf x = linspace(-2*%pi,2*%pi,100)'; plot2d(x,[sin(x),cos(x)]); e = gce(); p1 = e.children(1); p2 = e.children(2); twinkle(p1) // cos plot twinkle twinkle(p2,10) // sin plot twinkle 10 times twinkle(gca()) // axes twinkle
See Also
- graphics entities — description of the graphics entities data structures
History
Version | Description |
6.0 | twinkle() and twinkle(n) added. |
Comments
Add a comment:
Please login to comment this page.