<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - scatter fails with 1 data point"
href="http://bugzilla.scilab.org/show_bug.cgi?id=15481">bug 15481</a>
<br><br>
---------- Bug Summary ----------- <br>scatter fails with 1 data point <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>sgougeon@free.fr
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - scatter fails with 1 data point"
href="http://bugzilla.scilab.org/show_bug.cgi?id=15481#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - scatter fails with 1 data point"
href="http://bugzilla.scilab.org/show_bug.cgi?id=15481">bug 15481</a>
from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
<pre>Hello Oscar,
About your initial report: you are right. The single point should be plotted. It is easy to fix, but there are a whole bunch of similar issues with
the current (initial) implementation of scatter() and scatter3(). At least:
a) The parsing and tests of their input arguments is not robust. See your report. Another trivial example of inappropriate message:
--> scatter(1:4, 1:4, 30, "#ff5566");
ATTENTION : Incorrect number of inputs for property-value pairs.
=> In this syntax, the only issue is that the color specification is wrong (at least not yet supported).
So the message is wrong as well. It should be about the color of markers.
b) Warnings are generated, instead of errors.
c) Warnings messages are not standard ones.
d) Warning messages are not localized.
So, the whole parsing of arguments must be overhauled.
I am going to do that.
About your <a href="show_bug.cgi?id=15481#c1">comment #1</a>: I am afraid that i do not clearly catch the point. As i understand, it is always possible to set markers sizes and colors
according to your data BEFORE calling scatter() or scatter3(), without any restriction about the chosen criteria and algo. Isn't it? So, if this is
not handy for you, could you provide examples of syntaxes that you would expect to be available, with shortly the context? But please you will be
kind to repost this as a wish in a distinct report. This can't be processed all together with this bug report.
Thanks.
Regards
Samuel</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>