plot by template is ready