[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31746] Incorrect result for stem plot
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #31746] Incorrect result for stem plot |
Date: |
Fri, 03 Dec 2010 14:27:45 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10 |
Update of bug #31746 (project octave):
Status: None => Patch Submitted
Assigned to: None => bpabbott
_______________________________________________________
Follow-up Comment #1:
The when two stem hggroups are created with a single command, they share a
baseline.
octave:12> x = (0:10)';
octave:13> y = [sin(x), cos(x)];
octave:14> h = stem (x, y);
octave:15> set (h(2), "color", "g");
octave:16> get (h, "basevalue")
ans =
{
[1,1] = 0
[2,1] = 0
}
octave:17> set (h(1), "basevalue", -1)
octave:18> get (h, "basevalue")
ans =
{
[1,1] = -1
[2,1] = -1
}
This is not compatible with Matlab.
I've attached a changeset which gives each stem hggroup its own baseline.
(file #22116)
_______________________________________________________
Additional Item Attachment:
File name: changeset.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31746>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/