QVector<double> tempX ;qSort(tempX.begin(), tempX.end());//从小到大排序 转载于:https://www.cnblogs.com/judes/p/9301614.html