On Tue, Jun 28, 2022 at 5:01 AM Marcin Błażejowski <marcin(a)wrzosy.nsb.pl> wrote:
On 28.06.2022 09:54, Sven Schreiber wrote:
> Am 28.06.2022 um 09:50 schrieb Marcin Błażejowski:
>> I wonder if it possible to set/modify a title for bar-lines in image
>> legend in plot block, because I'm getting something like this:
> Marcin, I guess it would help if you could post the hansl plotting code.
Oups, sorry, script:
plotmat = main matrix
bars = matrix with bars
options with-line fit=none
options band=bars,1 band-style=bars
end plot --output=display
Hmm, the unwanted legend text you got for the band is specific to the
case where (a) there's more than one series to be plotted (besides the
band) and (b) the "bars" type is selected. (In other cases the band
legend is suppressed.) I've now modified the code in git so that the
fussy automatic band legend is suppressed in all cases.
I guess it would be nice to offer a way to specify a legend for the
band but I'm not going to attempt that right now. As a workaround one
could add a title to the plot.