out3Plot.outParticlesAnalysis.addTrOrMe

addTrOrMe(ax, pDict, prop1, prop2, cmap, label=False, zorder=1, lineStyle='-')[source]

add a line plot of x: prop1, y: prop2 and label if label=True

Parameters
  • ax (matplotlib axes) – axes where plot should be added to

  • prop1 (str) – name of property in pDict used for x axis

  • prop2 (str) – name of property in pDict used for y axis

  • cmap (matplotlib colormap) – cmap to be used for multiple particles in pDict

  • label (bool) – if True add label to lines for legend

  • zorder (int) – order of the plot object on the axes