gnuplot quits automatically



On Thu, 8 Sep 2011 20:46:32 +0800
RLP <rhyslpratt at yahoo.com.cn> wrote:

> 
> The following code comes from manuals, It works except
> that the pop-up gnuplot window will quit immediately as soon as the
> mouse begins to move.
> 
> So, How to prevent gnuplot from quitting?
> 
> ==== code ====
> -->  load(implicit_plot);
> -->  implicit_plot ([y^2=x, x*y^2-3*x*y+y+x^3-x^2+x=0] , [x, 1, 10],
> [y, 0, 10], [gnuplot_preamble, "set zeroaxis"]);
> ==============
> 

I have just found a file "maxout.gnuplot" in the home directory,
then I tried "gnuplot maxout.gnuplot" and caught the same result
described above.

So, I believe there may be something wrong related to gnuplot but
maxima? 

It should be noted that plot2d functions normally.


> gnuplot maxout.gnuplot 

plot '-'  title "y^2 = x" with lines lt 3, '-'  title "x*y^2-3*x*y+y+x^3-x^2+x = 0" with lines lt 1
                                                                                                  ^
"maxout.gnuplot", line 927: warning: Skipping data file with no valid points
gnuplot: xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed.
gnuplot: xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed.
Multiple segmentation faults occurred; can't display error dialog
gnuplot: xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed.
<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.