Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Biblioteca de Gráficos > interaction > twinkle

twinkle

Faz uma entidade gráfica piscar

Seqüência de Chamamento

twinkle
twinkle(n)
twinkle(h)
twinkle(h,n)

Parâmetros

h

manipulador de uma entidade gráfica. By default, the current graphic entity handled with gce() is considered.

n

inteiro

Descrição

twinkle faz com que a entidade gráfica dada pelo seu manipulador h pisque. Pode ser usado para encontrar o objeto gráfico correspondente a um manipulador gráfico em uma janela de gráficos. Por padrão, a entidade gráfica pisca 5 vezes, mas você pode mudar este número através do argumento opcional n.

Exemplos

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)     // fazendo piscar o esboço de cos
twinkle(p2,10)  // fazendo piscar o esboço de sin piscar
twinkle(gca())  // eixos piscando

Ver Também

Histórico

VersãoDescrição
6.0

twinkle() and twinkle(n) added.

Report an issue
<< seteventhandler interaction xclick >>

Copyright (c) 2022-2023 (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:
Thu Feb 14 15:00:47 CET 2019