help-octave
[Top][All Lists]
Advanced

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

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


From: address@hidden
Subject: Re: Re: Attempts to print or save a figure cause Octave to crash
Date: Tue, 24 May 2016 23:03:15 +0900 (JST)

--- samuel.weber
> 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 aGhostScript 
> 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 McAndrewwrote:
> I am using Octave version 4.0.1 under a newlyinstalled Arch Linux.  However, 
> I can't seem to be able to savea figure.  For example:
> 
> print -djpg figure1.jpg
> 
> causes the error:
> 
> warning: print.m: fig2dev binaryis not available.
> Some output formats are not available.
> warning: called from
>     __print_parse_opts__ at line385 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 errorfollowed by a 
> crash.  I'd like to know:
> why octave crashes instead of just returning an errormessagewhat I need in 
> order to print to a fileI have ghostscript and gnuplot installed.  However, 
> when Iset the graphics_toolkit to gnuplot, then I can't resize aplot - 
> enlarging the window causes the plot to be tiled,rather than resized.In the 
> end I simply took a screenshot.  But this is clearlyonly a stop-gap measure, 
> and I'd like to be able toprint/save a figure to a file.many thanks,
> Alasdair
> 
> 
Perhaps transfig is enough for your usage.
Transfig is a part of xfig, in which you can find fig2dev.

Tatsuro




reply via email to

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