On Mon, Jul 19, 2021 at 12:08 PM Bruce Mutton <br...@tomo.co.nz> wrote:

> >Is it possible to scale the length of the bar based on the number of
> altitudes so that it fits the standard variable module length used for
> other colour legends?
>
> >>this has been implemented in 9a30b34
> <https://github.com/therion/therion/commit/9a30b34a9c9ed54e8c651c2edbb8ef7573e83b6f>.
>
>
> This is working I think – yet to test with all projects.
>
> > I tried using the ‘smooth-shading off’ option in the hope that the
> altitude legend format would revert to the old style, but there is no
> difference; it comes out the same as if ‘smooth-shading quick’ is set.
>
> >>This is intended, because even if you don't use smooth shading for
> scraps, most of the scraps colored by altitude get colors which are not
> found on the old-style discrete color legend. So a smooth color legend
> should be useful. Do you see a use case for having a discrete legend in
> this case?
>
>
>
> I’m not sure.  I am undecided as to whether I would prefer independent
> control of the colour-legend style (user specifies smoothed if Therion can
> do it, or specifies discrete regardless of whether Therion can do smoothed
> or not).  The current implementation seems to decide automatically,
> depending on the type of lookup (for example banded gives discrete,
> otherwise it is smoothed).  Probably I would prefer independent control.
> Especially as the discrete style is used for all only most altitude map-fg
> / lookups and for all other map-fg / lookups.
>

Agree, independent control offers the best control. The color-legend
keyword will be expanded to support on/off/smooth/discrete (on = auto).


> My tentative comments:
>
>
>    1. The new colourbar misses out the top colour (red), and generally
>    biases the colours on the colourbar too far up relative to the labelled
>    altitudes (a bug).
>
> It indeed looks like a bug. Could you send me the data to reproduce it?


>
>    1. The old version (5.5.7) works better with banded colours as 6.0.0
>    did not shade it as I would like.  It will probably be OK with smooth
>    shading off – didn’t get around to checking that yet.
>
> Maybe the effect you don't like is that only a part of any scrap within
the bounds of the band is coloured (not the whole scrap) when smooth
shading is used.
For highlighting particular passages probably a special area symbol filled
with a colour (or different colours based on the ATTR__scrap value) is
better suited than altitude bands.

Cheers
Martin
_______________________________________________
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion

Reply via email to