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

Autoscale when maxval or minval are missing ? #182

Open
ederag opened this issue Oct 5, 2021 · 1 comment
Open

Autoscale when maxval or minval are missing ? #182

ederag opened this issue Oct 5, 2021 · 1 comment

Comments

@ederag
Copy link
Contributor

ederag commented Oct 5, 2021

As requested, here is a separate issue for maxval.

One usually wants to fix the colors scale,
but the first time trying DynamicGrids on a new problem, it could make sense so have an autoscale,
just to see that the simulation is running properly.

With the current setting, if the cells are all above 1, the image stays white (except happily the frame number).

A proper documentation of maxval (or clims which would be fine indeed) might be enough.
But it might also be handy when the relative morphology is more important than the absolute values.

If it is worth the trouble (please do close if not),
then one might also want to fix one end (e.g. minval=0)
and let the other one adjust (e.g. with maxval=nothing).

@rafaqz
Copy link
Member

rafaqz commented Oct 5, 2021

It's not much trouble, this is a few lines of code :)

The question is more about adding complexity and what "least surprise" will be. I think you may be right about first time least surprise being to just autoscale, like Plots.jl will do.

@rafaqz rafaqz transferred this issue from cesaraustralia/DynamicGridsGtk.jl Oct 5, 2021
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