changeset 11961:a80076bea5bd release-3-2-x

__go_draw_axes__.m: Change strncmpi(scale,'lo') -> strcmp(scale,'log').
author Ben Abbott <bpabbott@mac.com>
date Thu, 04 Jun 2009 21:32:37 -0400
parents 2e1c096135c4
children 015af716bdd6
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,5 +1,7 @@
 2009-06-04  Ben Abbott <bpabbott@mac.com>
 
+	* plot/__go_draw_axes__.m: Change strncmpi(scale,'lo') to 
+	strcmp(scale,'log').
 	* plot/__go_draw_axes__.m: For log-scale axes use format '10^{%T}'.
 
 2009-06-03  Ben Abbott <bpabbott@mac.com>
--- a/scripts/plot/__go_draw_axes__.m
+++ b/scripts/plot/__go_draw_axes__.m
@@ -1611,7 +1611,7 @@
       warned_latex = true;
     endif
   endif
-  if (strncmpi (scale, "lo", 2))
+  if (strcmp (scale, "log"))
     fmt = "10^{%T}";
   else
     fmt = "%g";