octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53217] Can't close window popping up after "g


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53217] Can't close window popping up after "gray" command while pager is active
Date: Tue, 27 Feb 2018 17:08:27 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #27, bug #53217 (project octave):

OK, then Octave is consistent with that description, e.g.,


>> close all
>> fig1 = figure(1);
>> set(fig1, 'colormap', hot(256))
>> size(get(fig1,'colormap'))
ans =

   256     3

>> fig2 = figure(2);
>> size(get(fig2,'colormap'))
ans =

   64    3

>> set(fig2, 'colormap', gray())
>> set(fig1, 'colormap', gray())
>> size(get(fig1,'colormap'))
ans =

   64    3



Whether that is what Matlab actually does is another question.  From a
programmer's standpoint, I guess the best is to always specify the size of the
colormap.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53217>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]