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

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

[Octave-bug-tracker] [bug #51722] typo in hdl2struct.m


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #51722] typo in hdl2struct.m
Date: Thu, 10 Aug 2017 13:22:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

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

                 Summary: typo in hdl2struct.m
                 Project: GNU Octave
            Submitted by: dasergatskov
            Submitted on: Thu 10 Aug 2017 05:22:45 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

There appears to be a typo in scripts/plot/util/hdl2struct.m +101


     if (! isempty (cb))
        ## identify colorbars which are attached to this axes.
-->     idx2 = ([get(cb).axes] == h);
        cb = cb(idx);
      endif



I think it should be

       idx = ([get(cb).axes] == h);


The error shows up e.g in "demo copyobj 2".

Dmitri.
-- 





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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