File: drawnow.xml

package info (click to toggle)
scilab-plotlib 0.41-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,196 kB
  • sloc: xml: 3,308; makefile: 15
file content (52 lines) | stat: -rw-r--r-- 1,793 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 * Ajouter ici d'ventuels commentaires sur le fichier XML
-->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="drawnow" xml:lang="en">
  <info>
    <pubdate>$LastChangedDate: 26-05-2009 $</pubdate>
  </info>
  <refnamediv>
    <refname>drawnow</refname>
    <refpurpose>Flushed postponed graphics commands.</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <title>Calling Sequence</title>
    <synopsis>drawnow</synopsis>
  </refsynopsisdiv>
  <refsection>
    <title>Description</title>
    <para>To emulate the Matlab behaviour, drawnow not only flushes the postponed graphics commands of the current window, but also reveals the double buffer pixmap if the DoubleBuffer property is 'on'. </para>
  </refsection>
  <refsection>
    <title>Example</title>
    <programlisting role="example">f=figure('DoubleBuffer','on');
t=linspace(0,2*%pi,128);
h=plot(t,sin(t));
axis(axis());
for i=[1:100 99:-1:1]
//  set(h,'CData',sin(i*t/50));
h.YData=sin(i*t/50);
drawnow
end</programlisting>
  </refsection>
  <refsection>
    <title>See Also</title>
    <simplelist type="inline">
      <member>
        <link linkend="figure_properties">figure properties</link>
      </member>
    </simplelist>
    <simplelist type="inline">
      <member>
        <link linkend="drawlater">drawlater</link>
      </member>
    </simplelist>
  </refsection>
  <refsection>
    <title>Authors</title>
    <simplelist type="vert">
      <member>Stphane Mottelet</member>
    </simplelist>
  </refsection>
</refentry>