|
From: Philipp K. J. <ja...@ie...> - 2017-03-05 21:37:46
|
I am encountering problems when running gnuplot in
a loop (to update the graph based on changing data,
"poor man's animation").
When using the wxt terminal, I intermittently run
into a failed assertion:
Gdk:ERROR:/build/gtk+2.0-KsZKkB/gtk+2.0-2.24.30/gdk/gdkregion-generic.c:337:miSetExtents:
assertion failed: (pExtents->y1 < pExtents->y2)
When using the qt terminal, I can't stop the loop,
because the "bind" command does not seem to work.
These problems seem new to me. They may be due to
some form of library version skew (I updated my
Linux install in the meantime).
The essential commands are:
end=0
while( end==0 ) {
splot "file" i 1 matrix w p lc pal
pause 0.1
}
Version info:
G N U P L O T
Version 5.0 patchlevel 3 last modified 2016-02-21
Copyright (C) 1986-1993, 1998, 2004, 2007-2016
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Compile options:
-READLINE +LIBEDITLINE +HISTORY
-BACKWARDS_COMPATIBILITY +BINARY_DATA
+GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION
-USE_CWDRC +X11 +X11_POLYGON +MULTIBYTE +X11_EXTERNAL +USE_MOUSE
+HIDDEN3D_QUADTREE +DATASTRINGS +HISTOGRAMS +OBJECTS
+STRINGVARS +MACROS +THIN_SPLINES +IMAGE +USER_LINETYPES
+STATS +EXTERNAL_FUNCTIONS MAX_PARALLEL_AXES=7
GNUPLOT_DRIVER_DIR = "/usr/lib/gnuplot5"
GNUPLOT_PS_DIR = "/usr/share/gnuplot5/gnuplot/5.0/PostScript"
HELPFILE = "/usr/share/gnuplot5/gnuplot.gih"
|