persistence diagram plotter