I am using Octave version 4.0.1 under a newly installed Arch Linux. However, I can't seem to be able to save a figure. For example:
causes the error:
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning: called from
__print_parse_opts__ at line 385 column 9
print at line 288 column 8
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
[1] 25330 segmentation fault (core dumped) octave
Much the same thing happens with save or saveas - an error followed by a crash. I'd like to know:
- why octave crashes instead of just returning an error message
- what I need in order to print to a file
I have ghostscript and gnuplot installed. However, when I set the graphics_toolkit to gnuplot, then I can't resize a plot - enlarging the window causes the plot to be tiled, rather than resized.
In the end I simply took a screenshot. But this is clearly only a stop-gap measure, and I'd like to be able to print/save a figure to a file.
many thanks,
Alasdair