octave-maintainers
[Top][All Lists]
Advanced

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

Re: rc1 and qt-gnuplot


From: Dmitri A. Sergatskov
Subject: Re: rc1 and qt-gnuplot
Date: Thu, 5 Dec 2013 09:01:34 -0600




On Thu, Dec 5, 2013 at 8:27 AM, John W. Eaton <address@hidden> wrote:

I think that's happening because switching toolkits only affects new figures.  If you still have the fltk+opengl figure on the screen, the next drawnow will still use fltk+opengl.  You need to either close the existing figure or create a new one.  So try this instead:

  close all
  graphics_toolkit gnuplot
  ...


octave:1> plot (randn(3))
octave:2> close all
octave:3> graphics_toolkit gnuplot
octave:4> drawnow ("x11", "/dev/null", false, "x11.gp");
error: drawnow: nothing to draw
octave:4>

So can some of you guys can send me .gp file so I check if I
can crash standalone gnuplot?

I also tried strace, but it does not tell much:


ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
read(3, "", 4096)                       = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
lseek(3, 0, SEEK_CUR)                   = 92211
close(3)                                = 0
munmap(0x7ffecb50a000, 4096)            = 0
stat("/home/dima/src/octave-3.8.0-rc1/scripts/plot/util/gcf.m", {st_mode=S_IFREG|0644, st_size=2281, ...}) = 0
stat("/home/dima/src/octave-3.8.0-rc1/scripts/plot/util/gcf.m", {st_mode=S_IFREG|0644, st_size=2281, ...}) = 0
stat("/home/dima/src/octave-3.8.0-rc1/scripts/plot/util/gcf.m", {st_mode=S_IFREG|0644, st_size=2281, ...}) = 0
stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=840, ...}) = 0
lstat("/tmp/oct-UCtsfi", 0x7fffaaa1e550) = -1 ENOENT (No such file or directory)
mknod("/tmp/oct-UCtsfi", S_IFIFO|0600)  = 0
write(4, "set obj 1 rectangle from screen "..., 211) = -1 EPIPE (Broken pipe)
--- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=4895, si_uid=501} ---
rt_sigreturn()                          = -1 EPIPE (Broken pipe)
write(2, "warning: broken pipe", 20warning: broken pipe)    = 20
write(2, "\n", 1
)                       = 1
stat("/tmp/oct-UCtsfi", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
open("/tmp/oct-UCtsfi", O_RDONLY


Dmitri.
--


reply via email to

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