for(int i = 0; i < data.length; i++) {
serie = new XYSeries(" ");
temp = data[i].copy(); // deep copy
temp.trimToSize(); // set capacity to the current size
temp.quickSortFromTo(0, temp.size()-1); // sort list in increasing order, simplify the next processings
elements = temp.elements();
int j = 0;
int l = 0;
while(j < elements.length) {