[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55002] plotyy: incorrect colororder for 2nd a
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #55002] plotyy: incorrect colororder for 2nd axis (with patch) |
Date: |
Sat, 10 Nov 2018 10:14:17 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 |
Follow-up Comment #2, bug #55002 (project octave):
It would still be useful to see what Matlab does, but I guess when there are
multiple colored object in the first axes there is no reasonable way to
determine which one is more important and should be the one that colors the
axes object.
THere is this bit of code in plotyy.m that addresses this subject.
h1 = feval (fun1, x1, y1);
set (ax(1), "xlim", xlim);
if (isscalar (h1))
## Coloring y-axis only makes sense if plot contains exactly one line
set (ax(1), "ycolor", getcolor (h1));
endif
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55002>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/