[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print plots without GUI
From: |
Ben Abbott |
Subject: |
Re: Print plots without GUI |
Date: |
Tue, 17 Jan 2012 11:32:49 -0500 |
On Jan 17, 2012, at 10:02 AM, malleor wrote:
> Jaroslav Hajek-2 wrote
>
>> figure (1, "visible", false);
>> plot (1:10, 1:10);
>> print myplot.eps
>>
>> works for me (3.3.50+).
>
> Dear Jaroslav,
>
> Sadly, this code crashes my Octave 3.4.3 (latest stable).
>
> octave:1> figure (1, "visible", false);
> octave:2> gcf
> ans = 1
> octave:3> plot (1:10, 1:10);
> panic: Segmentation violation -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
> warning: get: allowing currentfigure to match root property currentfigure
> error: get: unknown property "currentfigure"
> error: evaluating argument list element number 1
> error: called from:
> error:
> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octave\3.4.3\
> m\plot\close.m at line 74, column 3
> error:
> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octave\3.4.3\
> m\plot\close.m at line 57, column 5
> error:
> C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octave\3.4.3\
> m\plot\__go_close_all__.m at line 27, column 3
>
> It happens only when the figure 1 has never been visible -- the following
> code works.
>
> octave:1> figure (1, "visible", false);
> octave:2> plot (1:10, 1:10);
>
> This is clearly a bug and I'm about to try solving it. Maybe one of you
> Octave guys wishes to do it also. Or maybe it's solved in next dev versions?
>
> Regards,
> malleor
Which operating system are you running ?
And which graphics toolkit are your using ?
If you don't know, you can type ...
graphics_toolkit
Using the gnuplot toolkit, I don't see this error on 3.4.0, 3.4.3, or the
current developers stable sources.
Ben
- Re: Print plots without GUI, malleor, 2012/01/17
- Re: Print plots without GUI,
Ben Abbott <=
- Re: Print plots without GUI, malleor, 2012/01/17
- Re: Print plots without GUI, PhilipNienhuis, 2012/01/17
- Re: Print plots without GUI, malleor, 2012/01/18
- Re: Print plots without GUI, Ben Abbott, 2012/01/18
- Re: Print plots without GUI, Philip Nienhuis, 2012/01/18
- Re: Print plots without GUI, Ben Abbott, 2012/01/18
- Re: Print plots without GUI, Ben Abbott, 2012/01/17
- Re: Print plots without GUI, malleor, 2012/01/18