library to plot some data structures