updates to plot2d and simplot example