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
|
<?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="imagesc" xml:lang="en">
<info>
<pubdate>$LastChangedDate: 26-05-2009 $</pubdate>
</info>
<refnamediv>
<refname>imagesc</refname>
<refpurpose>Display scaled image object</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>imagesc(C)</synopsis>
<synopsis>imagesc(C,clims)</synopsis>
<synopsis>imagesc(x,y,C)</synopsis>
<synopsis>imagesc(x,y,C,clims)</synopsis>
<synopsis>imagesc(x,y,'PropertyName',PropertyValue)</synopsis>
<synopsis>hdl = imagesc(...)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameter</title>
<variablelist>
<varlistentry>
<term>x</term>
<listitem>
<para>vector</para>
</listitem>
</varlistentry>
<varlistentry>
<term>y</term>
<listitem>
<para>vector</para>
</listitem>
</varlistentry>
<varlistentry>
<term>C</term>
<listitem>
<para>m by n matrix</para>
</listitem>
</varlistentry>
<varlistentry>
<term>clims</term>
<listitem>
<para>2-vector</para>
</listitem>
</varlistentry>
<varlistentry>
<term>hdl</term>
<listitem>
<para>Handle of the Matplot entity</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>image creates a scaled image object by considering each element of the C matrix. The values are scaled and are mapped to the current figure colormap. The vector clims allows to define the minimum and maximum values associated to the first and last color of the colormap.</para>
<para>When the x and y vectors are given, only the first and last values of these vectors are used and define the range of each variable. By default, the 'YDir' property of parent axis is set to 'Reverse'.</para>
</refsection>
<refsection>
<title>Example</title>
<programlisting role="example">load(PLOTLIB+'clown.dat')
drawlater
subplot(1,2,1);
imagesc(X);
axis tight
subplot(1,2,2);
imagesc(X,[0.4 1]);
axis tight
drawnow</programlisting>
</refsection>
<refsection>
<title>Screenshot</title>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="imagesc.png"/>
</imageobject>
</mediaobject>
</screenshot>
</refsection>
<refsection>
<title>See Also</title>
<simplelist type="inline">
<member>
<link linkend="image">image</link>
</member>
<member>
<link linkend="pcolor">pcolor</link>
</member>
<member>
<link linkend="colormap">colormap</link>
</member>
<member>
<link linkend="caxis">caxis</link>
</member>
</simplelist>
</refsection>
<refsection>
<title>Authors</title>
<simplelist type="vert">
<member>Stphane Mottelet</member>
</simplelist>
</refsection>
</refentry>
|