Display#
- slotted_aloha_simulator.plot.distribution_plot(data, params, legend=True, export=None, keys=None, ym=1e-08, xm=30)[source]#
- Parameters:
data (
listof dict) – List of results from parallelized computation.params (
dict) – Parameters to fitlegend (
bool, default=True) – Draw legendexport (
str, optional) – Save the figure as export.tex in pgfplots formatkeys (
list, optional) – List of Epochs to displayym (
float, optional) – Lower y-boundxm (
int, optional) – Higher x-bound
- Return type:
None
- slotted_aloha_simulator.plot.evolution_plot(data, params, legend=True, export=None, keys=None, names=None)[source]#
- Parameters:
data (
listof dict) – List of results from parallelized computation.params (
dict) – Parameters to fitlegend (
bool, default=True) – Draw legendexport (
str, optional) – Save the figure as export.tex in pgfplots formatkeys (
list, optional) – Sub-list of occupancy, goodput, efficiency to display.names (
list, optional) – Display names for the keys.
- Return type:
None
- slotted_aloha_simulator.plot.live_plot(data, params, c=4, legend=True, export=None, keys=None)[source]#
- Parameters:
data (
listof dict) – List of results from parallelized computation.params (
dict) – Parameters to fitc (
int) – Max state value considered as alive.legend (
bool, default=True) – Draw legend.export (
str, optional) – Save the figure as export.tex in pgfplots format.keys (
list, optional) – List of Epochs to display.
- Return type:
None