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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Ajouter ici d'éventuels commentaires sur le fichier XML
-->
<refentry version="5.0-subset Scilab" xml:id="trisurf" 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:ns5="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: 26-05-2009 $</pubdate>
</info>
<refnamediv>
<refname>trisurf</refname>
<refpurpose>Display surface defined by a triangulation</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>hdl = trisurf(TRI,X,Y,Z,C)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameter</title>
<variablelist>
<varlistentry>
<term>TRI</term>
<listitem>
<para>3 by n matrix. A row of TRI contains indexes into the X,Y, and
Z vertex vectors to define a single triangular face</para>
</listitem>
</varlistentry>
<varlistentry>
<term>X</term>
<listitem>
<para>1 by n matrix</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Y</term>
<listitem>
<para>1 by n matrix</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Z</term>
<listitem>
<para>1 by n matrix</para>
</listitem>
</varlistentry>
<varlistentry>
<term>C</term>
<listitem>
<para>1 by n matrix</para>
</listitem>
</varlistentry>
<varlistentry>
<term>hdl</term>
<listitem>
<para>Handle of the created Fac3d entity</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>trisurf(TRI,X,Y,Z,C) displays the triangles defined in the 3-by-n
face matrix TRI as a surface. A row of TRI contains indexes into the X,Y,
and Z vertex vectors to define a single triangular face. The color is
defined by the vector C.</para>
<para>trisurf(TRI,X,Y,Z) uses C = Z, so color is proportional to surface
height.</para>
<para>trisurf(...,'param','value','param','value'...) allows additional
param/value pairs to be used. See mesh, surf, surfl for the possible
param/value pairs.</para>
</refsection>
<refsection>
<title>Examples</title>
<programlisting role="example">load(PLOTLIB+'tridem.dat');
trisurf(nodes,xy(1,:),xy(2,:),P(:,3)','facecolor','interp');
view(45,45);
colorbar bot;</programlisting>
</refsection>
<refsection>
<title>Screenshot</title>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="trisurf.png" />
</imageobject>
</mediaobject>
</screenshot>
</refsection>
<refsection>
<title>See Also</title>
<simplelist type="inline">
<member>
<link linkend="mesh">mesh</link>
</member>
<member>
<link linkend="surf">surf</link>
</member>
<member>
<link linkend="surfl">surfl</link>
</member>
</simplelist>
</refsection>
<refsection>
<title>Authors</title>
<simplelist type="vert">
<member>Stéphane Mottelet</member>
</simplelist>
</refsection>
</refentry>
|