Generating LaTeX plots given data and configuration details.