scatter fails with 1 data point
Reported by Oscar van der Velde
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.