generate figures for framework