|
From: Ethan A M. <merritt@u.washington.edu> - 2007-10-25 05:11:05
|
On Wednesday 24 October 2007 21:44, Philipp K. Janert wrote: > > The following two commands will crash > gnuplot: > set hidden3d undefined 2 > splot [][][:1] 10*exp(-(x**2 + y**2)) I'm afraid I don't know what the 'undefined' option is supposed to do, so I can't comment on whether this is supposed to work. > Gnuplot dies with the following message: > hidden3d.c:776: store_polygon: Assertion `p->ymax <= surface_scale' failed. But that message arises, I think, simply because of the range and scale used for plotting. I've been getting this message a lot recently if I use the middle mouse button in splot mode to try to rescale the plot. I have tried replacing the assert statements with non-fatal warnings. That allows many mouse operations to succeed that otherwise would have triggered the assertion failure, but eventually it dies elsewhere on a segfault. So yes, there are serious known problems with the hidden3d scaling code. But I think that the 'undefined' option is not the cause; it just perturbs the chance of hitting the true bug. > Note that the plot command is such that > there are values of the function outside > the plot range (z-range). > > I get the same effect for > set hidden3d undefined 2 > and > set hidden3d undefined 3 > Only level = 1 is ok. > > This occurs for both wxt and x11 terminals. > (I didn't try any others.) > > Is this a known problem? > > Best, > > Ph. > > > > > > > Below the output of show version long: > > G N U P L O T > Version 4.2 patchlevel 2 > last modified 31 Aug 2007 > System: Linux 2.6.18.2-34-default > > Copyright (C) 1986 - 1993, 1998, 2004, 2007 > Thomas Williams, Colin Kelley and many others > > Type `help` to access the on-line reference manual. > The gnuplot FAQ is available from http://www.gnuplot.info/faq/ > > Send bug reports and suggestions to > <http://sourceforge.net/projects/gnuplot> > > Compile options: > -READLINE +LIBREADLINE +HISTORY +BACKWARDS_COMPATIBILITY +BINARY_DATA > +GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION > -NOCWDRC +X11 +X11_POLYGON +MULTIBYTE +USE_MOUSE +HIDDEN3D_QUADTREE > +DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |