|
From: Petr M. <mi...@ph...> - 2017-08-04 22:24:48
|
> On Friday, 04 August 2017 17:12:47 Petr Mikulik wrote:
>>> Source tarball for -rc3 in now in the "Release Candidates" folder on SourceForge.
>>
>> When testing the obsolete pm3d contrib awk scripts on my demo data, I have
>> found a bug in 5.2 vs 5.0 and 4.*. Try this:
>>
>> set pm3d map; splot x*x-y*y
>>
>> In 5.2, the key "x*x-y*y" is shown above the map.
>> In 4.* and 5.0, the key "x*x-y*y" is not shown (actually, it is drawn
>> below the plot).
>> The key makes no sense for the plot (there is no colour line there), so it is
>> recommended to hide the key.
>>
>> The problem is due to:
>> current:
>> key is ON, position: top right vertical fixed
>> 5.2:
>> key is ON, position: top right vertical inside
>>
>> Note that the key positioning is bad (overlaped with plot) also
>> for the use of the contour map:
>> set view map; set contour; splot x*x-y*y
>> so that "key fixed" does not help.
>>
>>
>> I think the "inside" should mean "inside" for "plot" as well
>> as for "splot map". Otherwise "mapped splots" are not compatible
>> with current gnuplot neither with
>> plot '3d.dat' with image
>>
>>
>> Is it possible to fix the meaning of the new "fixed" keyword?
>
> I do not know where such a title should be placed by default, but
> for both 5.0 and 5.2
> set key inside opaque box
> will display the key embedded in the pm3d or contour surface.
The title should not be visible by default, it must stay inside for maps,
otherwise we break compatibility (there would be an unwanted text in maps
produced by new gnuplot).
I think that in 5.2
if ("key_fixed") ...
should be changed to
if ("key_fixed" AND !splot_map) ...
Is such a fix possible?
---
Petr
|