diff scripts/plot/__gnuplot_drawnow__.m @ 14225:f0d903879eaa

Replace unnecessary strcmpi calls with strcmp. * __gnuplot_drawnow__.m, __go_draw_axes__.m, surfl.m, uigetfile.m: Replace unnecessary strcmpi calls with strcmp.
author Rik <octave@nomad.inbox5.com>
date Wed, 18 Jan 2012 21:17:14 -0800
parents 190952239c2c
children 921b15c13adc
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_drawnow__.m	Wed Jan 18 21:17:14 2012 -0800
+++ b/scripts/plot/__gnuplot_drawnow__.m	Wed Jan 18 21:17:14 2012 -0800
@@ -122,8 +122,8 @@
     ## toolkit.
     [term, opts_str] = gnuplot_trim_term (term);
     term = lower (term);
-    if (strcmpi (term, "lua"))
-      ## Replace "lau tikz" with
+    if (strcmp (term, "lua"))
+      ## Replace "lua tikz" with just "tikz"
       term = "tikz";
       opts_str = strrep (opts_str, "tikz", "");
     endif
@@ -150,7 +150,7 @@
       if (output_to_screen (term) && ! strcmp (term, "dumb"))
         fig.numbertitle = get (h, "numbertitle");
         fig.name = strrep (get (h, "name"), "\"", "\\\"");
-        if (strcmpi (get (h, "numbertitle"), "on"))
+        if (strcmp (get (h, "numbertitle"), "on"))
           title_str = sprintf ("Figure %d", h);
         else
           title_str = "";