changeset 6370:6edb00b095a3

[project @ 2007-02-28 23:15:23 by jwe]
author jwe
date Wed, 28 Feb 2007 23:15:23 +0000
parents 16901a3e5416
children b51f76ee24bb
files scripts/plot/__uiobject_draw_axes__.m
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/__uiobject_draw_axes__.m	Wed Feb 28 22:18:28 2007 +0000
+++ b/scripts/plot/__uiobject_draw_axes__.m	Wed Feb 28 23:15:23 2007 +0000
@@ -703,12 +703,11 @@
 
 endfunction
 
-function lim = get_axis_limits (min_val, max_val, min_pos, logscale)
+## Attempt to make "nice" limits from the actual max and min of the
+## data.  For log plots, we will also use the smallest strictly positive
+## value.
 
-  ## FIXME -- this needs to make "nice" limits from the actual max and
-  ## min of the data.  For log plots, we will also need the smallest
-  ## strictly positive value, which we aren't currently computing and
-  ## caching above.
+function lim = get_axis_limits (min_val, max_val, min_pos, logscale)
 
   if (logscale)
     if (isinf (min_pos))