wait for plots, make tex