changeset 24369:77d976a84d0a

maint: merge stable to default.
author Rik <rik@octave.org>
date Wed, 06 Dec 2017 13:19:15 -0800
parents 1909f2d7a36e (current diff) ccedd8a29d3e (diff)
children b1d1229d9e83
files scripts/plot/util/private/__gnuplot_draw_axes__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m	Wed Dec 06 13:55:23 2017 -0500
+++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m	Wed Dec 06 13:19:15 2017 -0800
@@ -956,7 +956,7 @@
                   if (do_interp_warning && numel (ccol) == 3)
                     warning ('"interp" not supported, using 1st entry of cdata');
                     do_interp_warning = false;
-                    color = ccol(1,:);
+                    color = mapcdata (ccol(:), obj.cdatamapping, clim, cmap_sz);
                   else
                     if (isscalar (ccol))
                       ccol = repmat (ccol, numel (xcol), 1);