this is for holding javascript data
Deyan Ginev edited figures/flot_arxiv_paper_sizes.html
almost 9 years ago
Commit id: 46a78513ac78a91e6a982531b16d8318b40eaa04
deletions | additions
diff --git a/figures/flot_arxiv_paper_sizes.html b/figures/flot_arxiv_paper_sizes.html
index 42d32c5..8012f93 100644
--- a/figures/flot_arxiv_paper_sizes.html
+++ b/figures/flot_arxiv_paper_sizes.html
...
var sortedKeys = Object.keys(cleanedRawData).sort(compareNumbers);
console.log("Smallest paper: ",sortedKeys[0]);
console.log("Largest paper: ",sortedKeys[sortedKeys.length - 1]);
total_papers = 0;
total_size = 0;
$.each(sortedKeys, function(){total_size+=parseInt(this) || 0;});
$.each(sortedKeys, function(){total_papers+=parseInt(cleanedRawData[this]) || 0;});
console.log("Total papers: ", total_papers);
console.log("Total size: ", total_size);
console.log("Average size: ",total_size / total_papers);
function getData(xmin,xmax) {
var sizeData = [];