Octave 3.8.2 in OSX: plotting issues [solved]

  • von

sometimes the fltk makes problems and crashes octave.

check the following within octave:


octave_config_info ().GRAPHICS_LIBS 

this usually shows the fltk libs. if plot doesn’t work check in octave:

available_graphics_toolkits (shows fltk and gnuplot)
loaded_graphics_toolkits (shows {} or fltk or gnuplot)

try setting gnuplot as default

graphics_toolkit ("gnuplot")
plot (1) --> this should work. if not --> also update your gnuplot (see below)

to set gnuplot as graphics_toolkit permanently do in terminal

nano ~/.octaverc

and add

graphics_toolkit ("gnuplot")

please check your gnuplot version and update it in terminal:

gnuplot -v

if errors occur please do

fink install gnuplot