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

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

[Octave-bug-tracker] [bug #51082] Colormap should be tied to figure inst


From: jsh
Subject: [Octave-bug-tracker] [bug #51082] Colormap should be tied to figure instead of axis
Date: Sun, 21 May 2017 08:01:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0

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

                 Summary: Colormap should be tied to figure instead of axis
                 Project: GNU Octave
            Submitted by: jsh
            Submitted on: Sun 21 May 2017 12:01:34 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Any

    _______________________________________________________

Details:

Octave seems to implement colormap() on the axis object while Matlab it is
tied to the figure. For example this works in Matlab


f=figure;
colormap(f,'cool')
get(f,'colormap')


while the following works in Octave, but returns the default colormap in later
Matlab versions


f=figure;
colormap(gca,'cool')
get(f,'colormap')






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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