|
From: | Alasdair McAndrew |
Subject: | Re: Re: Attempts to print or save a figure cause Octave to crash |
Date: | Wed, 25 May 2016 10:59:58 +1000 |
helps a great deal, and I'll attempt to download and install xfig today.Thank you all. It turns out thatgraphics_toolkit gnuplot
- Alasdair--On Wed, May 25, 2016 at 12:03 AM, address@hidden <address@hidden> wrote:--- 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
_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |