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

Set aspect ratio for density-temperature plots #277

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

robjmcgibbon
Copy link
Collaborator

Update the plot aspect ratio so that more ticks will be shown on the x axis. We still end up with only one tick when comparing 7 simulations, but that never really happens anyway. Examples of different numbers of simulations are below.

density_temperature
density_temperature
density_temperature
density_temperature

density_temperature

@EvgeniiChaikin
Copy link
Collaborator

EvgeniiChaikin commented Mar 26, 2024

This is a nice solution! Thanks!!

Would it be possible to also modify the following scripts in the same manner, for consistency?

  • bh_masses.py
  • density_temperature_species.py
  • birth_metallicity_redshift.py
  • birth_density_metallicity.py
  • birth_density_redshift.py
  • birth_density_temperature.py
  • particle_updates_step_cost.py
  • max_temperature_redshift.py
  • density_species_depletions.py
  • density_species_diffuse.py
  • density_species_interp.py
  • gas_minimal_smoothing_length_redshift.py

Copy link
Collaborator

@EvgeniiChaikin EvgeniiChaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EvgeniiChaikin EvgeniiChaikin merged commit f7aa6a5 into master Mar 27, 2024
1 check passed
@robjmcgibbon robjmcgibbon deleted the density_temperature_ticks branch October 9, 2024 07:50
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