NetworkSim.simulation.tools.plot.plot_latency

NetworkSim.simulation.tools.plot.plot_latency(simulator, latency, node_id=None, latency_type=None, bar3d=False, fig=None, ax=None, title=None)[source]

Function to plot latency information.

Parameters
  • simulator (BaseSimulator) – The simulator of choice.

  • latency (pandas DataFrame) – The latency summary generated.

  • node_id (int, optional) – The node of interest, by default None.

  • latnecy_type (string, optional) – The latency type of interset, by default is None, which is transfer delay.

  • bar3d (bool, optional) – Enable 3d bar plot for queueing delay, default is False.

  • fig (figure, optional) – Figure to be plotted on, by default None.

  • ax (axis, optional) – Axis to be plotted on, by default None.

  • title (string, optional) – Plot title, by default None.