On Tue, Oct 06, 2015 at 17:03:16 +0200, Arturo Borrero Gonzalez wrote: > When executing a file (attached, lab1_1.m) via octave-cli two plot windows > are created, but then both > windows hangs and the terminal hangs as well. > > My desktop is XFCE4 and I suspect that my old graphic cards may be part of > the cause...
Could be. I am able to run the attached and do not experience a freeze. Can you try another of graphics_toolkit gnuplot graphics_toolkit fltk The default with 4.0 is "qt". Both "fltk" and "qt" use OpenGL, "gnuplot" does not and may give you better results. Are you running Octave from within Emacs or Qtoctave or anything other than a standard terminal emulator? Are you running the file as a script argument to Octave (e.g. octave-cli lab1_1.m) or are you running the script as a command at the Octave interpreter's command line? -- mike