fiesta.plotter.plot_sink_mass_evolutions#
- fiesta.plotter.plot_sink_mass_evolutions(base_file_paths, min_nums, max_nums, time_unit=Unit('s'), mass_unit=Unit('g'), colors=None, linestyles=None, linewidths=None, labels=None, save=None, **kwargs)[source]#
Plot the total sink mass of AREPO Voronoi grids as a function of time.
- Parameters:
base_file_paths (
list
ofstr
’s) – The list of base file path strings to readArepoVoronoiGrid
from. The format of the AREPO snapshots is usually<base_file_path><num>
where<num>
is an positive integer corresponding to the snapshot number.min_nums (
list
) – The list of starting value of<num>
for each AREPO simulation.max_nums (
list
) – The list of ending value of<num>
for each AREPO simulation.time_unit (
Unit
, optional) – The unit of time to use. Default value isu.s
.mass_unit (
Unit
, optional) – The unit of mass to use. Default value isu.g
.colors (
list
, optional) – A list of matplotlib-compatible color strings corresponding to each line plotted. IfNone
(default), colors are picked by cycling through matplotlib tab10 colour palette.linestyles (
list
, optional) – A list of matplotlib-compatible linestyle strings corresponding to each line plotted. IfNone
(default), they are set to-
.linewidths (
list
, optional) – A list of linewidths corresponding to each line plotted. IfNone
(default), they are set to1.5
.labels (
list
, optional) – A list of labels corresponding to each line plotted. IfNone
(default), they are numbered1, ..., n
.save (
str
, optional) – File path to save the plot. IfNone
(default), plot is not saved.**kwargs (
dict
, optional) – Additional matplotlib-based keyword arguments to control finer details of the plot.
- Returns: