[Bugzilla] [Bug 15481] New: scatter fails with 1 data point

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Sat Mar 10 23:16:07 CET 2018


https://bugzilla.scilab.org/show_bug.cgi?id=15481
--------- Bug Summary -----------
scatter fails with 1 data point

---------- Changed by ------------
oscarvdvelde at yahoo.com

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter


            Bug ID: 15481
           Summary: scatter fails with 1 data point
           Product: Scilab software
           Version: 6.0.1
          Hardware: (not used)
                OS: All OS
            Status: NEW
          Severity: Medium
          Priority: (field not used)
         Component: Graphics
          Assignee: bugzilla.admin at scilab.org
          Reporter: oscarvdvelde at yahoo.com

HOW TO REPRODUCE THE BUG:
-------------------------


scf(99); 
selection = [1,4,9,10,12,18];  // resulting data indices after a zoom  
scatter(time(selection),alt(selection),pow(selection),'o');  
// works fine


selection = [3];  // zooming in on one point
scatter(time(selection),alt(selection),pow(selection),'o');  
// displays nothing except: WARNING: X and Y must be vectors of the same length. (which they are...) 


I plot a combination of data from different sources in one axes system. For a certain data source I use scatter. If the space/time zooming results in
only 1 event to be plotted, scatter does not plot anything. If plotting in a new figure as the above example, axes are not created.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180310/1074988c/attachment.htm>


More information about the Bugzilla mailing list