diff --git a/TrimSPlib.js b/TrimSPlib.js index 9220187..0a6e2d8 100644 --- a/TrimSPlib.js +++ b/TrimSPlib.js @@ -3886,15 +3886,42 @@ function plotProfiles(filenames) { win.document.close(); var plotDiv=win.document.getElementById("newPlot"); - // Extract energies from run files if available - var Es = []; - for (let i=0;i a.sortValue - b.sortValue); + // loop on sorted values and plot - for (let i=0;i