NetworkSim.simulation.tools.publication.plot_throughput

NetworkSim.simulation.tools.publication.plot_throughput(simulator, span='e', semilog=False)[source]

Plot mean throughput statistics of a ParallelSimulator.

Parameters
  • simulator (ParallelSimulator) – The simulator used.

  • 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.

  • semilog (bool, optional) – If to plot data on a semi-logarithmic scale, by default False.

Returns

fig – The figure plotted.

Return type

Figure