CoCalc
Sharedsupport / 2015-11-07-173346-octave.sagewsOpen in CoCalc

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')