batch generate plots