<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
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";
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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]--></head><body bgcolor=white lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It looks like you wanted to suggest <a href="https://help.scilab.org/docs/5.4.1/en_US/hist3d.html">hist3d</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Denis<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></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'> users [mailto:users-bounces@lists.scilab.org] <b>De la part de</b> Paul Bignier<br><b>Envoyé :</b> mardi 25 février 2014 13:54<br><b>À :</b> International users mailing list for Scilab.; W.Schulz@ove.at<br><b>Objet :</b> Re: [Scilab-users] Plotting density values<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>Hi,<br><br>It sounds to me like you are trying to use <a href="https://help.scilab.org/docs/5.4.1/en_US/histplot.html">histplot</a>(y,x)?<br><br>Regards,<br>Paul<br><br><o:p></o:p></p><div><p class=MsoNormal>On 02/25/2014 12:55 PM, SCHULZ Wolfgang wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Hello,<o:p></o:p></pre><pre>I'm asking for an intelligent method to solve the following problem without a for loop.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I have 2 vectors x an y with e.g. 3000 values. The range of x values is between 0 and 360 and the range of y values is between -15 and 15.<o:p></o:p></pre><pre>I would like to plot the density of individual grid cells for e.g. dx=10, dy=1 and therefore I would need a matrix with 36x30 values where each value corresponds to the number of data points in the cell.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Any idea who I can do that without a for loop?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Thanks a lot<o:p></o:p></pre><pre>Wolfgang<o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>users mailing list<o:p></o:p></pre><pre><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><o:p></o:p></pre><pre><a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>Paul BIGNIER<o:p></o:p></pre><pre>Development engineer<o:p></o:p></pre><pre>-----------------------------------------------------------<o:p></o:p></pre><pre>Scilab Enterprises<o:p></o:p></pre><pre>143bis rue Yves Le Coz - 78000 Versailles, France<o:p></o:p></pre><pre>Phone: +33.1.80.77.04.69<o:p></o:p></pre><pre><a href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a> <o:p></o:p></pre></div></body></html>