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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) INRIA - Fabrice Leray
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
*
-->
<refentry version="5.0-subset Scilab" xml:id="Matplot_properties"
xml:lang="en" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:ns3="http://www.w3.org/1999/xhtml"
xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:db="http://docbook.org/ns/docbook">
<info>
<pubdate>$LastChangedDate$</pubdate>
</info>
<refnamediv>
<refname>Matplot_properties</refname>
<refpurpose>Descrio das propriedades da entidade Matplot</refpurpose>
</refnamediv>
<refsection>
<title>Descrio</title>
<para>A entidade Matplot uma folha na hierarquia de entidades grficas.
Representa esboos 2d de superfcies utilizando cores e imagens (ver
<literal>Matplot</literal> e <literal>Matplot1</literal>).</para>
<variablelist>
<varlistentry>
<term>parent:</term>
<listitem>
<para>esta propriedade contm o manipulador da raiz. A raiz de uma
entidade Matplot deve ser do tipo <literal>"Axes"</literal>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>children:</term>
<listitem>
<para>esta propriedade contm um vetor com os galhos do manipulador.
Contudo, manipuladores <literal>Matplot</literal> handles
correntemente no possuem galhos.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>visible:</term>
<listitem>
<para>este campo contm o valor da propriedade
<literal>visible</literal> para a entidade . Pode ser <literal>"on"
</literal> ou <literal>"off"</literal> . Por padro, o esboo
visvel, o valor da propriedade <literal>"on"</literal>. Se
<literal>"off"</literal> o esboo no desenhado na tela. </para>
</listitem>
</varlistentry>
<varlistentry>
<term>data:</term>
<listitem>
<para>este campo define uma matriz de cores
[<literal>m</literal>x<literal>n</literal>] <literal>color</literal>
utilizando o mapa de cores corrente. A cor associada a
<literal>color(i,j)</literal> utilizanda para se esboar um
pequeno quadrado de lado 1 com centro localizado em
<literal>(x=j,y=(m-i+1))</literal>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>clip_state:</term>
<listitem>
<para>este campo contm o valor da propriedade
<literal>clip_state</literal> para o Matplot. o valor de clip_state
pode ser :</para>
<itemizedlist>
<listitem>
<para><literal>"off"</literal> significa que o Matplot no
recortado. </para>
</listitem>
<listitem>
<para><literal>"clipgrf"</literal> significa que o Matplot
recortado fora da caixa dos eixos. </para>
</listitem>
<listitem>
<para><literal>"on"</literal> significa que o Matplot
recortado fora do retngulo dado pela propriedade
clip_box.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
<varlistentry>
<term>clip_box:</term>
<listitem>
<para>este campo determina a propriedade
<literal>clip_box</literal>. Por padro seu valor uma matriz vazia
se a propriedade clip_state "off". Em outros casos, o vetor
<literal>[x,y,w,h]</literal> (ponto superior esquerdo, largura,
altura) define as pores do retngulo a ser exibido, contudo o
valor da propriedade <literal>clip_state</literal> ser
alterado.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>user_data:</term>
<listitem>
<para>este campo pode armazenar qualquer varivel Scilab na
estrutura de dados do Matplot e recuper-la.</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Exemplos</title>
<programlisting role="example"><![CDATA[
Matplot((1:xget("lastpattern")))
e=gce(); // obtendo a entidade corrente
e.data=e.data($:-1:1) // ordem inversa
]]></programlisting>
</refsection>
<refsection>
<title>Ver Tambm</title>
<simplelist type="inline">
<member><link linkend="set">set</link></member>
<member><link linkend="get">get</link></member>
<member><link linkend="delete">delete</link></member>
<member><link linkend="grayplot">grayplot</link></member>
<member><link linkend="Matplot">Matplot</link></member>
<member><link linkend="Matplot1">Matplot1</link></member>
<member><link
linkend="graphics_entities">graphics_entities</link></member>
<member><link
linkend="grayplot_properties">grayplot_properties</link></member>
</simplelist>
</refsection>
<refsection>
<title>Autor</title>
<para>F.Leray</para>
</refsection>
</refentry>
|