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
|
<?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="legend" xml:lang="en">
<info>
<pubdate>$LastChangedDate: 26-05-2009 $</pubdate>
</info>
<refnamediv>
<refname>legend</refname>
<refpurpose>graph legend</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>legend show</synopsis>
<synopsis>legend hide</synopsis>
<synopsis>legend(string1,string2,string3,...,pos)</synopsis>
<synopsis>legend(ax,...)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameters</title>
<variablelist>
<varlistentry>
<term>stringn</term>
<listitem>
<para>string</para>
</listitem>
</varlistentry>
<varlistentry>
<term>pos</term>
<listitem>
<para>scalar</para>
</listitem>
</varlistentry>
<varlistentry>
<term>ax</term>
<listitem>
<para>axes handle</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>legend(string1,string2,string3, ...) puts a legend on the
current plot using the specified strings as labels.</para>
<para>legend(...,Pos) places the legend in
the specified location</para>
<informaltable>
<tr><td>1</td><td> Upper right-hand corner (default)</td></tr>
<tr><td>2</td><td>Upper left-hand corner </td></tr>
<tr><td>3</td><td>Lower left-hand corner</td></tr>
<tr><td>4</td><td>Lower right-hand corner </td></tr>
<tr><td>5</td><td>Interactive placement with the mouse</td></tr>
</informaltable>
<para>legend show</para>
</refsection>
<refsection>
<title>Examples</title>
<programlisting role="example">
plot;
subplot(221);
legend cosine
subplot(222);
legend show
</programlisting>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="legend.png"/>
</imageobject>
</mediaobject>
</screenshot>
</refsection>
<refsection>
<title>See Also</title>
<simplelist type="inline">
<member>
<link linkend="leaf properties">leaf properties</link>
</member>
</simplelist>
</refsection>
<refsection>
<title>Authors</title>
<simplelist type="vert">
<member>Stphane Mottelet</member>
</simplelist>
</refsection>
</refentry>
|