From bug-request at octave dot org Thu Jan 12 05:13:52 2006 Subject: Re: Segfault running this script (related to the subplots?) running against Octave 2.9.3 (CVS) From: Brendan Drew To: "Dmitri A. Sergatskov" CC: bug at octave dot org Date: Thu, 12 Jan 2006 04:12:26 -0700 Sorry -- I missed part of the equation. It works fine so long as you don't do a clear all first. e.g: octave> kernel works just fine. octave> clear all octave> kernel segfaults. It took me a while to figure out that the clear all is important. Dmitri A. Sergatskov wrote: > Brendan Drew wrote: > >> Description: >> ----------- >> >> I had a version of this script which, rather than producing the four >> subplots, created four figures and put each of those plots into their >> own figure. I was hoping to gather them all into a single figure, so >> I switched to the subplots. When I change back to using figures >> rather than subplots, the problem goes away. >> >> I'm running SuSE 9.2 (if that makes a difference) and built Octave >> from the CVS sources (2.9.3 -- it's about a two month old build). >> > > It works fine on mine octave-2.9.4 (RedHat Enterprise Linux 4: > gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)). > > Can you try to narrow the problem down? > E.g. if you do > > octave:1> s=rand(10); > octave:2> subplot(2,2,2) > octave:3> plot(s) > > would it work? > > If not, could you try multiplot directly in gnuplot? > > Sincerely, > > Dmitri. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------