help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attempts to print or save a figure cause Octave to crash


From: Alasdair McAndrew
Subject: Attempts to print or save a figure cause Octave to crash
Date: Tue, 24 May 2016 22:45:07 +1000

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:

print -djpg figure1.jpg

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:

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



--
http://www.facebook.com/alasdairmcandrew https://twitter.com/amca01

reply via email to

[Prev in Thread] Current Thread [Next in Thread]