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

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

[Octave-bug-tracker] [bug #37715] colormap opens image if there's none


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #37715] colormap opens image if there's none
Date: Fri, 30 Nov 2012 04:23:17 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11

Follow-up Comment #3, bug #37715 (project octave):

hmm... is there a way to get the default colormap then? I can workarond with
the following but need a way to get the default:


if (!isempty (get (0, "CurrentFigure")))
  cmap = colormap ();
else
  ## how do we get the default colormap??
endif
-verbatim

But in that case, how can I return the default colormap? Should I hard code
jet(64)?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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