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

log scaled colormaps? #22

Open
BenWibking opened this issue Apr 4, 2022 · 1 comment
Open

log scaled colormaps? #22

BenWibking opened this issue Apr 4, 2022 · 1 comment

Comments

@BenWibking
Copy link

Is it possible to log-scale the variable being displayed?

Also, is it possible to have the scale ranges use scientific notation? My data has very small values compared to 1 in cgs units, so everything shows up as zeros:

image

@drummerdoc
Copy link
Member

Either at the command line or in your amrvis.defaults file, you can specific the number format used throughout using whatever c-style printf format you'd like

numberformat %7.5e

Do ``amrvis2d -help" to see the full list of options.

There is currently no option to log-scale the colormap, but that should be a simple thing to do. I'm not sure who is supporting amrvis now though.

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