Skip to content

Restrict log plots to 4 magnitude levels by default#103

Merged
ttricco merged 2 commits intottricco:mainfrom
AndrewHarris709:logfix
Jun 4, 2025
Merged

Restrict log plots to 4 magnitude levels by default#103
ttricco merged 2 commits intottricco:mainfrom
AndrewHarris709:logfix

Conversation

@AndrewHarris709
Copy link
Contributor

@AndrewHarris709 AndrewHarris709 commented Jun 4, 2025

Similar to Splash, restrict log-scale 2d plots to 4 magnitude levels by default (relative to the maximum value). This results in a much better default plot, without low-value particle "bubbles" reducing the visibility of key details.

On a flyby simulation, with sdf.render(target='rho', log_scale=True)

Old behavior:
image

New behavior:
image

@ttricco ttricco merged commit af487ff into ttricco:main Jun 4, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants