I am trying to save a file in javascript using the below code var blob = new Blob([text], {type: "text/plain;charset=utf-8"}); saveAs(blob, fileName +"_"+unit
Solution: As suggested by user Andy in the comments, an update to the newest version of Octave (at the moment: octave-4.0.1-rc4) fixed the problem and the plot