|
From: | Guillaume |
Subject: | [Octave-bug-tracker] [bug #54926] colormap property of a figure cannot be empty |
Date: | Wed, 31 Oct 2018 12:28:44 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL: <https://savannah.gnu.org/bugs/?54926> Summary: colormap property of a figure cannot be empty Project: GNU Octave Submitted by: gyom Submitted on: Wed 31 Oct 2018 04:28:43 PM UTC Category: Plotting with OpenGL Severity: 3 - Normal Priority: 5 - Normal Item Group: Unexpected Error Status: None Assigned to: None Originator Name: Guillaume Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: Setting a figure's colormap with an empty array returns an error: octave:1> h = figure ("colormap", []) error: invalid value for array property "colormap" error: called from figure at line 96 column 7 This is for example used in dialog.m: http://hg.savannah.gnu.org/hgweb/octave/file/976e7346abf4/scripts/gui/dialog.m#l102 and is valid in matlab: https://www.mathworks.com/help/matlab/ref/dialog.html (look for description of output argument d at the end of the page). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54926> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |