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
We have to check if the used jqplot library supports a different way of reading its data sets to be able to set a variable with the time values and use this variable instead of repeating vectors in the report.
Maybe the series to plot could be initialized seperately.
The text was updated successfully, but these errors were encountered:
Another idea is to do some preprocessing in javascript:
function build_data(x, y, res) {
if (x.length != y.lenght) {
// Oh no, something is wrong with the universe!
return;
}
for (var i = 0; i < x.length; i++) {
res.push([x[i],y[i]);
}
}
// For each file:
var base_time = [0, 0.001, 0.002, ..., 0.999, 1];
var result_time = [ .... ];
// For each variable:
var base_trajectory = [12.3, 12.5, 12.9, ..., 23.1, 23.6];
var result_trajectory = [ ... ]
Note that if base_time and result_time is the same, then one of them can be skipped. I also noticed that low and high tube have different time-scales than base and result! I guess that they will vary with each trajectory.
We have to check if the used jqplot library supports a different way of reading its data sets to be able to set a variable with the time values and use this variable instead of repeating vectors in the report.
Maybe the series to plot could be initialized seperately.
The text was updated successfully, but these errors were encountered: