[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30461] legend should work for lines with diff
From: |
David Bateman |
Subject: |
[Octave-bug-tracker] [bug #30461] legend should work for lines with different parents |
Date: |
Sun, 07 Nov 2010 21:41:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1) |
Update of bug #30461 (project octave):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #23:
I just committed a changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/9f080d23396f
that adds the fake axis to the gnuplot figures to handle the multi-parented
case as discussed in comment #21. The fake axis is only added in the case that
the legend is multi-parented and if it isn't the key of the existing plot is
used for the legend. In this manner the "flickering movie" bug in #31522 will
only be seen if multiple axes are in fact really used.
Note that there is an existing issue with the gnuplot backend and legends,
that is in a case like
close all;
x=0:0.1:10;
[ax,h1,h2] = plotyy(x, sin(x), x, cos(x));
[h,ho,hp] = legend('sin(x)','cos(x)');
set (h1,"markerfacecolor", [1,0,0],"markeredgecolor", [0,1,0],"marker","o")
Where the line color and marker colors are different, the gnuplot backend
only draws the line in the key. This is because gnuplot can't handle a line
with different colors for the line and marker in a single line. I don't think
there is anything that can be done about this. However, the above works fine
with the FLTK backend.
I consider this feature request fully addressed with this commit and I'm
closing this report.
D.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30461>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/