compute cycle number and add to table
add plots with cycle number