help-octave
[Top][All Lists]
Advanced

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

Re: Attempts to print or save a figure cause Octave to crash


From: samuel WEBER
Subject: Re: Attempts to print or save a figure cause Octave to crash
Date: Tue, 24 May 2016 15:00:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Hi,

I am also a ArchLinux user and I have no problem with it.
It doesn't seems to me to be a Octave issue but may be a GhostScript issue.

Does a "man fig2dev" return a result? If not, try to install 'xfig' (pacman -S xfig)

By the way, do you install or compile octave from source?

Samuel


On 24/05/2016 14:45, Alasdair McAndrew wrote:
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:
  • 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



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


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


reply via email to

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