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

Enable user to choose its default colour palette #7

Closed
gillins opened this issue May 25, 2018 · 3 comments
Closed

Enable user to choose its default colour palette #7

gillins opened this issue May 25, 2018 · 3 comments
Labels
enhancement New feature or request minor

Comments

@gillins
Copy link
Member

gillins commented May 25, 2018

Original report by Pierre Roudier (Bitbucket: roudierp-landcare, ).


I just pushed the viridis family of colour palettes (see eg: https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html),

That made me think that it would be good to have a mechanism to pick the default colour palette used by default for single-layer rasters.

@gillins
Copy link
Member Author

gillins commented May 25, 2018

Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).


Hi Pierre,

Would this live in the Preferences?

I also notice there is no way of opening a file in pseudocolour from the command line which is a bit of an oversight...

Sam.

@gillins
Copy link
Member Author

gillins commented May 27, 2018

Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).


Hi Pierre,

Check out the default stretch rules (File->Default Stretch). I think you can already create a rule that uses your preferred colour palette for a single layer raster. See screenshot below. Does this do what you need?

Screenshot-Default Stretch.png

@gillins
Copy link
Member Author

gillins commented Jun 7, 2018

Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).


I think Default Stretch takes care of this quite well. I've also allowed the colour table to be selected from the command line in #d43ce42 so you can create an alias etc for using a particular colour table.

@gillins gillins closed this as completed Jun 7, 2018
@gillins gillins added minor enhancement New feature or request labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

1 participant