<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Christophe:<br>
<br>
Thank you for making me aware of xpolys(), a new addition to my
bag of tools.<br>
<br>
A good alternative workaround.<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 26/04/2021 04:42, Dang Ngoc Chan,
Christophe wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB8PR07MB63151550097EA1A5BE0D19ADE5429@DB8PR07MB6315.eurprd07.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">Hello,
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">De : fmiyara
I'm trying to get a plot like this:
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
[...]
Maybe you should try with xpolys(), e.g.
----------
[n, ybase] = (10, -12);
y = ybase + 9*grand(1,n,"def");
x=1:n;
Y=[y ; ybase*ones(y)];
X=[x ; x]
scf(0);
clf();
xpolys(X, Y, ones(y));
plot(x, y, "o");
gcf().children.data_bounds(1, 2) = ybase;
----------
But it mays have some drawbacks.
HTH
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
General
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________
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>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>