[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32343] last plot resets all other curve label
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #32343] last plot resets all other curve labels |
Date: |
Thu, 03 Feb 2011 22:52:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16) |
Update of bug #32343 (project octave):
Assigned to: jwe => None
_______________________________________________________
Follow-up Comment #2:
The bug was introduced in this changeset when another bug was fixed:
http://hg.savannah.gnu.org/hgweb/octave/rev/1f54ee6760b5
I'm copying Ben since he made the change.
the change was simple, just
@@ -774,8 +775,9 @@
persistent recursive = false;
if (! recursive)
recursive = true;
+ hax = getfield (get (h, "userdata"), "handle");
[hplots, text_strings] = getlegenddata (h);
- h = legend (fliplr (hplots), get (h, "string"));
+ h = legend (hax, flipud (hplots), get (h, "string"));
recursive = false;
endif
endfunction
in legend.m. I'm not sure why flipud is used here since my tests show that
hplots is a row vector, so flipud has no effect.
If I go back to fliplr, then the bug reported here (#32343) is fixed, but the
bug reported in #32022 reappears.
I don't know what the proper fix is.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32343>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, Dmitri A. Sergatskov, 2011/02/03
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, John W. Eaton, 2011/02/03
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels,
John W. Eaton <=
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, Ben Abbott, 2011/02/03
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, John W. Eaton, 2011/02/04
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, David Bateman, 2011/02/04
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, David Bateman, 2011/02/04
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, John W. Eaton, 2011/02/05
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, David Bateman, 2011/02/05
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, Michael Godfrey, 2011/02/06
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, Michael Godfrey, 2011/02/06
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, Ben Abbott, 2011/02/06
- [Octave-bug-tracker] [bug #32343] last plot resets all other curve labels, David Bateman, 2011/02/06