Creates a plot of probability vs node.

Parameters:filename (str) – the absolute/relative path to the desired output file.


  • ensure a file extension is present so that filetype is correctly set (choose one of png, pdf, ps, eps or svg).
  • if propagate() has not been called, the probability of the initial state is plotted (\(t=0\)). Otherwise, the last propagated time (Line3P.t) is used.