Sharedsupport / 2015-11-07-173346-octave.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.

Epically broken:

%octave x = -10:0.1:10; plot (x, sin (x));
Interrupting Octave...

Works (thanks to Nils):

%octave figure(1,"visible","off"); x = -5:0.1:5; plot (x, sin (x)); saveas(1,"/tmp/octave-example.svg")
smc.file('/tmp/octave-example.svg')