NetworkSim.simulation.tools.publication
.plot_packet_heatmap¶
-
NetworkSim.simulation.tools.publication.
plot_packet_heatmap
(simulator, data_rate, span='e')[source]¶ Plot mean packet number statistics of a specified data rate in a ParallelSimulator.
- Parameters
simulator (ParallelSimulator) – The simulator used.
data_rate (float) – The chosen data rate.
span (str, optional) – The time span of the delay statistics in the simulation, by default
extended
, chosen from the following:- overall or all
The entire duration of the simulation.
- final batch or fb
The statistics from the final batch when simulation converges.
- extended or e
The extended period of the simulation.
- Returns
fig – The figure plotted.
- Return type
Figure