# HG changeset patch # User Rik # Date 1512595155 28800 # Node ID 77d976a84d0adf6336f16fef37e14c37908e182b # Parent 1909f2d7a36eee6cb281ca9def2440f006709d31# Parent ccedd8a29d3e14ae704732176863e1d616bb401c maint: merge stable to default. diff -r 1909f2d7a36e -r 77d976a84d0a scripts/plot/util/private/__gnuplot_draw_axes__.m --- 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);