<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Rafael,<br>
<br>
Le 23/06/2014 16:59, Rafael Guerra a écrit :<br>
</div>
<blockquote cite="mid:DUB109-DS2859CDB3FEB6DC18249EBBCC1F0@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Does anybody know how to
write titles above colorbars (say: “series1”,”series2”) as
in example below:</span></p>
</div>
</blockquote>
<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(174,92,176);text-decoration:underline;">clf</span><span style="color:rgb(0,0,0);">;</span><span style="color:rgb(0,0,0);">X</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">10</span><span style="color:rgb(0,0,0);">;</span><span style="color:rgb(0,0,0);">Y</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">20</span><span style="color:rgb(0,0,0);">;</span><span style="color:rgb(174,92,176);text-decoration:underline;">surf</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">X</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">Y</span><span style="color:rgb(0,0,0);">,</span><span style=
"color:rgb(92,92,92);">-</span><span style="color:rgb(0,0,0);">X</span><span style="color:rgb(92,92,92);">.*.</span><span style="color:rgb(0,0,0);">Y</span><span style="color:rgb(92,92,92);">'</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(174,92,176);text-decoration:underline;">colorbar</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(92,92,92);">-</span><span style="color:rgb(188,143,143);">20</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(92,92,92);">-</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">e</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(174,92,176);text-decoration:underline;">gce</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">e</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">parent</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">title</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">text </span><span style="color:rgb(92,92,92);">= </span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">Series 1</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">X </span><span style="color:rgb(92,92,92);">= </span><span style="color:rgb(188,143,143);">21</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">30</span><span style="color:rgb(0,0,0);">;</span><span style="color:rgb(174,92,176);text-decoration:underline;">
surf</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">X</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">Y</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">X</span><span style="color:rgb(92,92,92);">.*.</span><span style="color:rgb(0,0,0);">Y</span><span style="color:rgb(92,92,92);">'</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline;">colorbar</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">20</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">e</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(174,92,176);text-decoration:underline;">gce</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">e</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">parent</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">title</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">text </span><span style="color:rgb(92,92,92);">= </span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">Series 2</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span></pre>
HTH<br>
Samuel<br>
<br>
</body>
</html>