Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize Colorbars #13922

Open
ManuelOsburg opened this issue Dec 20, 2024 · 3 comments
Open

Customize Colorbars #13922

ManuelOsburg opened this issue Dec 20, 2024 · 3 comments
Assignees

Comments

@ManuelOsburg
Copy link

ManuelOsburg commented Dec 20, 2024

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

@gforney
Copy link
Contributor

gforney commented Dec 20, 2024

can you update the .ini file that contains these entries

@gforney
Copy link
Contributor

gforney commented Dec 20, 2024

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

@ManuelOsburg
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants