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
|
<?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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="subplot">
<info>
<pubdate>$LastChangedDate: 26-05-2009 $</pubdate>
</info>
<refnamediv>
<refname>subplot</refname>
<refpurpose>divides the current figure into rectangular panes</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>ax=subplot(n,m,p)</synopsis>
<synopsis>subplot(nmp)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameters</title>
<variablelist>
<varlistentry>
<term>n</term>
<listitem>
<para>
number of rows
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>m</term>
<listitem>
<para>
number of cols
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>p</term>
<listitem>
<para>
vector of pane numbers
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>ax</term>
<listitem>
<para>
Handle of the created axes.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>The subplot divides the current figure into rectangular panes numbered row-wise.
The parameter p gives the number of the pane, and if p is a vector then the smallest rectangle
enclosing the corresponding panes is created. If another axes already exists at the same
position then it becomes the current axes but if the newly created axes overlaps existing axes
then the latter are destroyed.
</para>
</refsection>
<refsection>
<title>Examples</title>
<programlisting role="example">
t=linspace(0,2*%pi,128);
subplot(3,3,1);
plot(cos(t),sin(t));
subplot(3,3,[2 3]);
plot(t,cos(t));
subplot(3,3,[4 7]);
plot(sin(t),t);
subplot(3,3,[5 9]);
pcolor;</programlisting>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="subplot.png"/>
</imageobject>
</mediaobject>
</screenshot>
</refsection>
<refsection>
<title>Authors</title>
<simplelist type="vert">
<member>Stphane Mottelet</member>
</simplelist>
</refsection>
</refentry>
|