MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualization