<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#330000">
bjr<br>
je ne peux pas répondre, je ne connais pas du tout mapsound<br>
crdlmt<br>
<br>
On 05/01/2012 06:40, Marie de Flaugergues wrote:
<blockquote cite="mid:024d01cccb6c$8f3bcff0$adb36fd0$@fr"
type="cite">
<meta name="Microsoft Theme 2.00" content="Compass 011">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Monospaced;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";
color:#383838;}
h1
{mso-style-priority:9;
mso-style-link:"Titre 1 Car";
margin-top:24.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:16.0pt;
font-family:"Calibri","sans-serif";
color:#383838;}
h2
{mso-style-priority:9;
mso-style-link:"Titre 2 Car";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Calibri","sans-serif";
color:#383838;
font-weight:normal;}
h3
{mso-style-priority:9;
mso-style-link:"Titre 3 Car";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Calibri","sans-serif";
color:#383838;
font-weight:normal;}
h4
{mso-style-priority:9;
mso-style-link:"Titre 4 Car";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Calibri","sans-serif";
color:#383838;
font-weight:normal;}
h5
{mso-style-priority:9;
mso-style-link:"Titre 5 Car";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Calibri","sans-serif";
color:#383838;
font-weight:normal;}
h6
{mso-style-priority:9;
mso-style-link:"Titre 6 Car";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:#383838;
font-weight:normal;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#B24B45;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#45201E;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Calibri","sans-serif";
color:#383838;}
span.Titre1Car
{mso-style-name:"Titre 1 Car";
mso-style-priority:9;
mso-style-link:"Titre 1";
font-family:"Verdana","sans-serif";
color:#383838;
font-weight:bold;}
span.Titre2Car
{mso-style-name:"Titre 2 Car";
mso-style-priority:9;
mso-style-link:"Titre 2";
font-family:"Verdana","sans-serif";
color:#383838;}
span.Titre3Car
{mso-style-name:"Titre 3 Car";
mso-style-priority:9;
mso-style-link:"Titre 3";
font-family:"Verdana","sans-serif";
color:#383838;}
span.Titre4Car
{mso-style-name:"Titre 4 Car";
mso-style-priority:9;
mso-style-link:"Titre 4";
font-family:"Verdana","sans-serif";
color:#383838;}
span.Titre5Car
{mso-style-name:"Titre 5 Car";
mso-style-priority:9;
mso-style-link:"Titre 5";
font-family:"Verdana","sans-serif";
color:#383838;}
span.Titre6Car
{mso-style-name:"Titre 6 Car";
mso-style-priority:9;
mso-style-link:"Titre 6";
font-family:"Verdana","sans-serif";
color:#383838;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";
color:#383838;}
span.EmailStyle25
{mso-style-type:personal;
color:#383838;}
span.EmailStyle26
{mso-style-type:personal;
color:#383838;}
span.EmailStyle27
{mso-style-type:personal-reply;
color:#383838;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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">Bonjour<o:p></o:p></p>
<p class="MsoNormal">Effectivement dans la fonction mapsound, z
est négatif car voila ce qui est écrit ligne 44 de cette
fonction<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:9.5pt;font-family:"Monospaced","serif";color:#32B9B9">grayplot</span><span
style="font-size:9.5pt;font-family:"Monospaced","serif";color:#4A55DB">(</span><span
style="font-size:9.5pt;font-family:"Monospaced","serif";color:black">x_abs,y_abs,</span><span
style="font-size:9.5pt;font-family:"Monospaced","serif";color:#5C5C5C">-</span><span
style="font-size:9.5pt;font-family:"Monospaced","serif";color:black">M</span><span
style="font-size:9.5pt;font-family:"Monospaced","serif";color:#4A55DB">)<o:p></o:p></span></p>
<p class="MsoNormal">Connaissez vous la raison de ce choix ? <o:p></o:p></p>
<p class="MsoNormal">Pour moi z représente l’amplitude pour une
fréquence donnée à un instant donné et devrait être positif<o:p></o:p></p>
<p class="MsoNormal">Merci d’avance<o:p></o:p></p>
<p class="MsoNormal">Cordialement<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;color:#00B050">_______________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<table class="MsoNormalTable"
style="border-collapse:collapse;margin-left:4.8pt;margin-right:4.8pt"
align="left" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr style="height:83.25pt">
<td style="width:212.15pt;padding:0cm 5.4pt 0cm
5.4pt;height:83.25pt" valign="top" width="283">
<table class="MsoNormalTable"
style="border-collapse:collapse;margin-left:4.8pt;margin-right:4.8pt"
align="left" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr style="height:83.25pt">
<td style="width:212.15pt;padding:0cm 5.4pt 0cm
5.4pt;height:83.25pt" valign="top" width="283">
<p class="MsoNormal"
style="mso-element:frame;mso-element-frame-hspace:7.05pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;mso-element-left:center;mso-element-top:-3.9pt;mso-height-rule:exactly"><b><span
style="font-size:11.0pt;font-family:"Times
New
Roman","serif";color:#00B050"><o:p> </o:p></span></b></p>
<p class="MsoNormal"
style="mso-element:frame;mso-element-frame-hspace:7.05pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;mso-element-left:center;mso-element-top:-3.9pt;mso-height-rule:exactly"><b><span
style="font-size:8.0pt;font-family:"Times
New
Roman","serif";color:#00B050">Marie
de Flaugergues<o:p></o:p></span></b></p>
<p class="MsoNormal"
style="mso-element:frame;mso-element-frame-hspace:7.05pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;mso-element-left:center;mso-element-top:-3.9pt;mso-height-rule:exactly"><span
style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"
style="mso-element:frame;mso-element-frame-hspace:7.05pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:margin;mso-element-left:center;mso-element-top:-3.9pt;mso-height-rule:exactly"><span
style="font-size:11.0pt"><o:p> </o:p></span></p>
</td>
<td style="width:109.8pt;padding:0cm 5.4pt 0cm
5.4pt;height:83.25pt" valign="top" width="146"><br>
</td>
</tr>
</tbody>
</table>
</td>
<td style="width:109.8pt;padding:0cm 5.4pt 0cm
5.4pt;height:83.25pt" valign="top" width="146"><br>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="text-align:center" align="center"><span
style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">De :</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
Adrien Vogt-Schilb [<a class="moz-txt-link-freetext" href="mailto:vogt@centre-cired.fr">mailto:vogt@centre-cired.fr</a>] <br>
<b>Envoyé :</b> mercredi 4 janvier 2012 18:07<br>
<b>À :</b> <a class="moz-txt-link-abbreviated" href="mailto:users-fr@lists.scilab.org">users-fr@lists.scilab.org</a><br>
<b>Objet :</b> Re: [users-fr] affichage colorbar<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Bonjour<br>
<br>
En lançant l'exemple de Serge, j'obtiens une colorbar dont la
valeur la plus basse -0.26, est en bas; et la valeur plus
haute, -0.00029 est en haut. Avez vous bien vu qu'il s'agit de
nombre négatifs?<br>
<br>
Serge, help mapsound ne documente pas w.<br>
<br>
<br>
On 04/01/2012 18:00, Marie de Flaugergues wrote: <o:p></o:p></p>
<p class="MsoNormal">Bonjour<o:p></o:p></p>
<p class="MsoNormal">Merci de cette réponse, c’était bien ce que
je cherchais.<o:p></o:p></p>
<p class="MsoNormal">Encore une question.<o:p></o:p></p>
<p class="MsoNormal">Est-ce que l’un d’entre vous c’est inverser
l’affichage (haut<->bas) de la colorbar ?<o:p></o:p></p>
<p class="MsoNormal">En effet les valeurs les plus basse sont
affichées en haut et non en bas.<o:p></o:p></p>
<p class="MsoNormal">Merci<o:p></o:p></p>
<p class="MsoNormal">Cordialement<o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;color:#00B050">M de flaugergues</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="text-align:center" align="center"><span
style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Je suppose que vous voulez parler de la
fonction mapsound et non de analyze.<br>
analyze fait essentiellement une décomposition en serie de
fourier du signal et en affiche le module<br>
<br>
Le code couleur de mapsound depend de la table de couleur qui
a été definie pour la fenetre graphique. on peut compléter
l'exemple donné dans la page d'aide de mapsound pour afficher
une colorbar :<br>
<br>
t=soundsec(0.5);<br>
<br>
// Then we generate the sound.<br>
s=sin(440*t)+sin(220*t)/2+sin(880*t)/2;<br>
[nr,nc]=size(t);<br>
s(nc/2:nc)=sin(330*t(nc/2:nc));<br>
f=gcf();clf;f.color_map=jetcolormap(32);<br>
<br>
mapsound(s);<br>
<br>
e=gce();colorbar(min(e.data.z),max(e.data.z));<br>
<br>
Serge Steer <br>
INRIA<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-family:"Times New
Roman","serif";color:#330000"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Times New
Roman","serif";color:#330000">-- <br>
Adrien Vogt-Schilb (Cired) <br>
Tel: (+33) 1 43 94 <b>73 77</b><o:p></o:p></span></p>
</div>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Adrien Vogt-Schilb (Cired) <br>
Tel: (+33) 1 43 94 <b>73 77</b></div>
</body>
</html>