|
From: Ethan A M. <sf...@us...> - 2012-02-09 17:36:12
|
On Thursday, February 09, 2012 06:35:21 am pl...@pi... wrote:
> Hi,
>
> I have some more oddities on the legend toggle feature in multiplot.
>
> I have a 2x2 plot with four lines in each, hence four legend entries.
>
> First I note that the toggle feature is affecting all graphs at the same
> time. This is not too bad as it happens for my instance but generally
> would not make sence because there is not necessarily any link between
> line1 on plot 1 and line1 on plot 2.
To the best of my knowledge, this was fixed by the following ChangeLog
entry:
2011-12-10 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c src/wxterminal/wxt_gui.cpp term/svg.trm:
Allow toggling individual plots on/off inside a multiplot page.
Bugfix.
> The main oddity displays serveral anomalies that I suspect have the same
> single root cause.
>
> a) I have a legend entry that is "period = FFT window" . If I click at
> the begining of the legend text it does nothing (usual gnuplot not
> really knowing text extents , I guess).
The size of the "hot box" around the text is only an approximation,
since most terminals do not provide feedback on the exact bounding box
of rendered text.
> If I click progessively further along more an more lines coming into the
> toggle.
> (on all four plots) . This seems to be a function if whether my
> click.x.coord is within their legend text (estimated) extent.
>
> If I click far enough along to be in everyone's (extimated) text extent
> it toggles all four plots for the line I clicked on AND ANY lines
> above it in the legend.
>
> The active area here extends right across to the end if the
> corresponding legend line segment in TOP, RIGHT plot. ie end of the 1,2
> position plot's legend box.
>
> ie If I click on second legend entry it affects lines 1 &2 on all four
> plots. If I click on legend item 4 in 1,1 plot I get all four lines
> toggling in all four plots !!
>
> The fun continues if I go below the line. It's almost the opposite. Now
> it toggles any line LOWER than where I click. The same general rules
> seem to apply to position with the added twist that the 2,2 postition
> plot has a top , left key position. I can now see that the active area
> goes well beyond the end of the key box and almost the end of the plot
> area.
>
> In fact this end seems to match the RHS of where a top,right legend box
> would be (it may be picking up a value from plot 1,2 legend box.).
>
> The bottom line of all this madness it that legend coordinate detection
> seems totally confused in the case of multiplot. I doubt it's a big
> issue to fix but it has some crazy (and amuzing) results.
>
> regards, Peter.
This all sounds familiar, but I think it was fixed a couple of months ago.
Could you please tell us the wxt version and the exact gnuplot build date?
Does it work correctly with svg output?
Ethan
|