Skip to content

Customize Colorbars #13922

Open
Open

Description

@ManuelOsburg

I don't know if this is a bug or not.

I created my own colour bar some time ago.
I recently noticed that the colour gradient between white and blue is not ‘straight’ as it was originally (image 1), but curves over a little red (image 2).

Image 1)
bf_goerlitz_bsz2_02_s0000

Image 2)
bf_goerlitz_bsz2_02_s0001

Is there a way to adjust the ‘curvature’ of the interpolation in the colour range?

The entry in the ini file is the same in both cases:

BCL_0.13
5 3
0 255 255 255
133 0 0 255
133 255 255 0
194 255 0 0
255 204 0 204

BCL_0.15
5 3
0 255 255 255
153 0 0 255
153 255 255 0
204 255 0 0
255 204 0 204

Activity

  1. gforney commented on Dec 20, 2024

    @gforney
    Contributor

    can you update the .ini file that contains these entries

  2. gforney commented on Dec 20, 2024

    @gforney
    Contributor

    I meant can you upload the .ini file that contains these entries

  3. ManuelOsburg commented on Dec 23, 2024

    @ManuelOsburg
    ContributorAuthor

    Please find attached the ini file. The colourbar ‘BCL_0p10’ works as intended (colour gradient from white to blue). I suspect it is because this colourbar is initially loaded as a start-up (mentioned under COLORBARTYPE).
    smokeview.zip

  4. ManuelOsburg commented on Feb 20, 2025

    @ManuelOsburg
    ContributorAuthor

    @gforney, have you had a chance to look into my issue?

  5. mcgratta commented on May 12, 2026

    @mcgratta
    Contributor

    Is this still an issue? If not, close with a "will not fix".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions