2014-05-30 13:24:25 +00:00
|
|
|
$(function() {
|
2015-11-23 19:59:28 +00:00
|
|
|
encode = [];
|
|
|
|
if (typeof encode_vandermonde_isa != 'undefined') {
|
|
|
|
encode.push({
|
2015-05-12 12:47:32 +00:00
|
|
|
data: encode_vandermonde_isa,
|
|
|
|
label: "ISA, Vandermonde",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
2016-09-22 19:40:52 +00:00
|
|
|
if (typeof encode_vandermonde_jerasure != 'undefined') {
|
2015-11-23 19:59:28 +00:00
|
|
|
encode.push({
|
2016-09-22 19:40:52 +00:00
|
|
|
data: encode_vandermonde_jerasure,
|
2015-05-12 12:47:32 +00:00
|
|
|
label: "Jerasure Generic, Vandermonde",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
if (typeof encode_cauchy_isa != 'undefined') {
|
|
|
|
encode.push({
|
2015-05-12 12:47:32 +00:00
|
|
|
data: encode_cauchy_isa,
|
|
|
|
label: "ISA, Cauchy",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
2016-09-22 19:40:52 +00:00
|
|
|
if (typeof encode_cauchy_jerasure != 'undefined') {
|
2015-11-23 19:59:28 +00:00
|
|
|
encode.push({
|
2016-09-22 19:40:52 +00:00
|
|
|
data: encode_cauchy_jerasure,
|
2015-05-12 12:47:32 +00:00
|
|
|
label: "Jerasure, Cauchy",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
$.plot("#encode", encode, {
|
2014-05-30 13:24:25 +00:00
|
|
|
xaxis: {
|
|
|
|
mode: "categories",
|
|
|
|
tickLength: 0
|
|
|
|
},
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
2014-05-30 13:24:25 +00:00
|
|
|
|
2015-11-23 19:59:28 +00:00
|
|
|
decode = [];
|
|
|
|
if (typeof decode_vandermonde_isa != 'undefined') {
|
|
|
|
decode.push({
|
2015-05-12 12:47:32 +00:00
|
|
|
data: decode_vandermonde_isa,
|
|
|
|
label: "ISA, Vandermonde",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
2016-09-22 19:40:52 +00:00
|
|
|
if (typeof decode_vandermonde_jerasure != 'undefined') {
|
2015-11-23 19:59:28 +00:00
|
|
|
decode.push({
|
2016-09-22 19:40:52 +00:00
|
|
|
data: decode_vandermonde_jerasure,
|
2015-05-12 12:47:32 +00:00
|
|
|
label: "Jerasure Generic, Vandermonde",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
if (typeof decode_cauchy_isa != 'undefined') {
|
|
|
|
decode.push({
|
2015-05-12 12:47:32 +00:00
|
|
|
data: decode_cauchy_isa,
|
|
|
|
label: "ISA, Cauchy",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
2016-09-22 19:40:52 +00:00
|
|
|
if (typeof decode_cauchy_jerasure != 'undefined') {
|
2015-11-23 19:59:28 +00:00
|
|
|
decode.push({
|
2016-09-22 19:40:52 +00:00
|
|
|
data: decode_cauchy_jerasure,
|
2015-05-12 12:47:32 +00:00
|
|
|
label: "Jerasure, Cauchy",
|
2014-05-30 13:24:25 +00:00
|
|
|
points: { show: true },
|
|
|
|
lines: { show: true },
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
$.plot("#decode", decode, {
|
2014-05-30 13:24:25 +00:00
|
|
|
xaxis: {
|
|
|
|
mode: "categories",
|
|
|
|
tickLength: 0
|
|
|
|
},
|
2015-11-23 19:59:28 +00:00
|
|
|
});
|
2014-05-30 13:24:25 +00:00
|
|
|
|
|
|
|
});
|