On 08/21/2012 11:18 PM, Ethan Merritt wrote:
> On Tuesday, 21 August 2012, Daniel J Sebald wrote:
>> Hi gnuploters,
>> Please take a look at demo #25 (the last one) here:
>> Notice there is a repeat of the key label far to the right edge of plot.
>> This appears to happen when clabel is not active.
> It does seem to be printing the title twice. I don't know why.
> If you add an explicit splot ... title "Foo"
> to that example you can see that the second copy has a line sample
> but it runs off the right edge of the canvas.
Oh yeah, I see that. A green sample. Which sort of makes sense.
>> I'm wondering if
>> since color doesn't mean anything with clabel, it is placing some text
>> instead of a sample color line. If so, that results in the same text
>> appearing twice, as well as the likelihood of text running off the
>> screen for long function expressions.
>> Is this a bug, or intended behavior?
> Definitely a bug.
> I think it is the first copy that is in error (the one with no color sample).
> It should be skipped altogether if clabel is not active, but for some reason
> it isn't.
Seeing the green line makes me think, yes, it is the first copy, which
appears to be extraneous.
But what made me wonder is that in example #24 is the function key text
followed by a blank, thinking that it's blank because the mesh is
absent. And then there are a bunch of examples previous to that where
the mesh is present and the function key text has a sample line the
color of the mesh. I suppose in example #24 the text is also extraneous
and shouldn't appear.
I'll write up a bug report this evening with a patch.