|
From: Thomas S. <t.s...@fz...> - 2007-10-28 10:25:04
|
Hans-Bernhard Br=C3=B6ker-2 wrote: >=20 >> the macros 'GET_MIN' and 'GET_MAX' should be different for checking >> min or max values in x- and y- and for checking min or max values in >> z-direction. >=20 > No. At the point in the algorithm where these are used, x, y and z have > already been turned into view coordinates. They are checked against the > view frustum, >=20 ok, yes, but, we are scaling the whole plot by moving the mouse sidewards while pressing the middle button. there the comparison of the maximum x-, y-, z-values to 'surface_scale' is the right one, and 'surface_scale' increases when zooming in. the assertion mainly accurs when scaling only the z-coordinate (in plot coordinates) by moving the mouse pointer up (middle button pressed). here, 'surface_scale' is not affected at all, 'surface_zscale' increases instead. but the comparison of the maximum y-value (in view coordinates) is done against 'surface_scale' which doesn't change at all during this process. that's why i think that the y-min/max-values should be checked against some combination of 'surface_scale' and 'surface_zscale'. --=20 View this message in context: http://www.nabble.com/Gnuplot-crashing-for-%2= 2hidden3d-undefined%22---tf4688619.html#a13451968 Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |