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: Mon, 12 Nov 2012 05:19:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20100101 Firefox/10.0.10 Iceweasel/10.0.10

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

                 Summary: colormap opens image if there's none
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Mon 12 Nov 2012 05:19:00 AM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

When colormap() is called without any argument, should return the current
colormap.

However, if there's no figure open, it will create one to return its colormap
since it does it with gcf() on line 95


    cmap = get (gcf (), "colormap");


Is there a way to avoid this? It's a bit annoying also since other functions
such as ind2gray and ind2rgb use it as default which causes a figure window to
open none is expected.




    _______________________________________________________

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]