Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for setting palettes and colour transfer functions #6

Open
zmughal opened this issue Dec 28, 2021 · 3 comments
Open

Add support for setting palettes and colour transfer functions #6

zmughal opened this issue Dec 28, 2021 · 3 comments
Assignees

Comments

@zmughal
Copy link
Member

zmughal commented Dec 28, 2021

For example, for plotting images.

@zmughal zmughal self-assigned this Dec 28, 2021
@zmughal zmughal changed the title Add support for setting palettes Add support for setting palettes and colour transfer functions Apr 11, 2022
@zmughal
Copy link
Member Author

zmughal commented Apr 11, 2022

Also useful for complex numbers: https://en.wikipedia.org/wiki/Domain_coloring.

@mohawk2
Copy link
Member

mohawk2 commented Apr 12, 2022

Oh, good point! I'd forgotten about this issue :-D

@mohawk2
Copy link
Member

mohawk2 commented Oct 31, 2022

Having pondered some more, I think P:G:S should have a way of setting the palette in a fairly dumb way, and that the domain colouring itself would live elsewhere, possibly in main PDL, or in PDL::Transform::Color, with outputs that can be consumed by the palette-setters.

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

No branches or pull requests

2 participants