changeset 30058:0b67964031be

allow figure alphamap property to be a column vector (bug #61085) * graphics.in.h (figure::init): Add alphamap constraint that allows column vector.
author John W. Eaton <jwe@octave.org>
date Thu, 26 Aug 2021 15:30:55 -0400
parents 525c85e9f402
children c75465d8e816
files libinterp/corefcn/graphics.in.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h	Thu Aug 26 15:06:56 2021 +0200
+++ b/libinterp/corefcn/graphics.in.h	Thu Aug 26 15:30:55 2021 -0400
@@ -3252,6 +3252,7 @@
     void init (void)
     {
       m_alphamap.add_constraint (dim_vector (-1, 1));
+      m_alphamap.add_constraint (dim_vector (1, -1));
       m_colormap.add_constraint (dim_vector (-1, 3));
       m_colormap.add_constraint (dim_vector (0, 0));
       m_outerposition.add_constraint (dim_vector (1, 4));