diff scripts/plot/draw/private/__contour__.m @ 21567:3d25f9f4a62b

maint: Eliminate Britishicisms in the code. * oct-stream.cc, __magick_read__.cc, Array.h, flag.m, lines.m, prism.m, __contour__.m: Use 'optimize' and 'color' rather than British spellings.
author Rik <rik@octave.org>
date Wed, 30 Mar 2016 21:35:51 -0700
parents 89fa0694aa2e
children ffad2baa90f7
line wrap: on
line diff
--- a/scripts/plot/draw/private/__contour__.m	Wed Mar 30 17:28:43 2016 -0700
+++ b/scripts/plot/draw/private/__contour__.m	Wed Mar 30 21:35:51 2016 -0700
@@ -244,7 +244,7 @@
 
     ## Handle for each level the case where we have (a) hole(s) in a patch.
     ## Those are to be filled with the color of level below or with the
-    ## background colour.
+    ## background color.
     for k = 1:numel (lev)
       lvl_idx = find (abs (cont_lev - lev(k)) < lvl_eps);
       len = numel (lvl_idx);
@@ -268,7 +268,7 @@
         endwhile
         if (numel (mark) > 0)
           ## All marked contours describe a hole in a larger contour of
-          ## the same level and must be filled with colour of level below.
+          ## the same level and must be filled with color of level below.
           ma_idx = lvl_idx(mark);
           if (k > 1)
             ## Find color of level below.