changeset 17728:38e9dee9c627

Add solutions to warning message when data values exceed float capacity. * libinterp/corefcn/gl-render.cc(draw_axes): Add two solutions to warning message when values to plot exceed float range.
author Rik <rik@octave.org>
date Tue, 22 Oct 2013 12:37:20 -0700
parents 36d646ead233
children 76d6a523aae6
files libinterp/corefcn/gl-render.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.cc	Tue Oct 22 12:27:31 2013 -0700
+++ b/libinterp/corefcn/gl-render.cc	Tue Oct 22 12:37:20 2013 -0700
@@ -1403,7 +1403,7 @@
 
   if (x_max > floatmax || y_max > floatmax || z_max > floatmax)
   {
-    warning ("gl-render: data limits greater than float capacity");
+    warning ("gl-render: data values greater than float capacity.  (1) Scale data, or (2) Use gnuplot");
     return;
   }