add plot figure