You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): allocation failed; you may need to raise the memory limit for SLiM." << EidosTerminate(nullptr);
1245
+
1246
+
if (x1_value->Type() == EidosValueType::kValueFloat)
for (int index = 0; index < segment_count; ++index)
1291
+
y2[index] = int_data[index];
1292
+
}
1293
+
1294
+
// color
1295
+
std::vector<QColor> *colors = new std::vector<QColor>;
1296
+
int color_count = color_value->Count();
1297
+
1298
+
if ((color_count != 1) && (color_count != segment_count))
1299
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires color to match the length of x1/y1/x2/y2, or be singleton." << EidosTerminate();
std::vector<QColor> *borders = new std::vector<QColor>;
1322
+
int border_count = border_value->Count();
1323
+
1324
+
if ((border_count != 1) && (border_count != segment_count))
1325
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_points): points() requires border to match the length of x and y, or be singleton." << EidosTerminate();
1326
+
1327
+
for (int index = 0; index < border_count; ++index)
std::vector<double> *lwds = new std::vector<double>;
1348
+
int lwd_count = lwd_value->Count();
1349
+
1350
+
if ((lwd_count != 1) && (lwd_count != segment_count))
1351
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires lwd to match the length of x1/y1/x2/y2, or be singleton." << EidosTerminate();
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires the elements of lwd to be in [0, 100]." << EidosTerminate(nullptr);
1359
+
1360
+
lwds->push_back(lwd);
1361
+
}
1362
+
1363
+
// alpha
1364
+
std::vector<double> *alphas = new std::vector<double>;
1365
+
int alpha_count = alpha_value->Count();
1366
+
1367
+
if ((alpha_count != 1) && (alpha_count != segment_count))
1368
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires alpha to match the length of x1/y1/x2/y2, or be singleton." << EidosTerminate();
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): allocation failed; you may need to raise the memory limit for SLiM." << EidosTerminate(nullptr);
1414
+
1415
+
if (x1_value->Type() == EidosValueType::kValueFloat)
for (int index = 0; index < segment_count; ++index)
1460
+
y2[index] = int_data[index];
1461
+
}
1462
+
1463
+
// color
1464
+
std::vector<QColor> *colors = new std::vector<QColor>;
1465
+
int color_count = color_value->Count();
1466
+
1467
+
if ((color_count != 1) && (color_count != segment_count))
1468
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires color to match the length of x1/y1/x2/y2, or be singleton." << EidosTerminate();
std::vector<double> *lwds = new std::vector<double>;
1482
+
int lwd_count = lwd_value->Count();
1483
+
1484
+
if ((lwd_count != 1) && (lwd_count != segment_count))
1485
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires lwd to match the length of x1/y1/x2/y2, or be singleton." << EidosTerminate();
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires the elements of lwd to be in [0, 100]." << EidosTerminate(nullptr);
1493
+
1494
+
lwds->push_back(lwd);
1495
+
}
1496
+
1497
+
// alpha
1498
+
std::vector<double> *alphas = new std::vector<double>;
1499
+
int alpha_count = alpha_value->Count();
1500
+
1501
+
if ((alpha_count != 1) && (alpha_count != segment_count))
1502
+
EIDOS_TERMINATION << "ERROR (Plot::ExecuteMethod_segments): segments() requires alpha to match the length of x1/y1/x2/y2, or be singleton." << EidosTerminate();
0 commit comments