<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<div class="moz-cite-prefix">Hello Heinz,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">After histplot(), you can just
disable the filling of bars:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">d = rand(1,10000,'normal');<br>
clf<br>
histplot(-3:0.5:3,d,normalization=%f);<br>
histplot(-3:0.5:3,d(1:5000)+1,normalization=%f,style=color("red"));<br>
<b>gca().children.children.fill_mode = "off";</b></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><img
src="cid:part1.6BC24A13.DBBB6BD2@free.fr" alt="" width="360"
height="216"></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Samuel</div>
<div class="moz-cite-prefix"><br>
</div>
Le 19/07/2019 à 13:22, Heinz Nabielek a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:5498C13D-B2E9-43DA-AC6B-BDB9F9E48C5B@me.com">
<pre class="moz-quote-pre" wrap="">On 19.07.2019, at 09:42, Antoine Monmayrant <a class="moz-txt-link-rfc2396E" href="mailto:antoine.monmayrant@laas.fr"><antoine.monmayrant@laas.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Scilab friends:
I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Basically?
You can't.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Primitive, but simple trick to outwit Scilab for my purposes:
first dataset plotted with histplot
subsequent datasets with histc and plotting squares with same width as histogram in differen colours...
h
d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2;
plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]);
histplot(i,grand(10000,1,'nor',0,1),style=5);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9);
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>