sphinx_gmt.gmtplot.eval_bash

sphinx_gmt.gmtplot.eval_bash(code, code_dir, output_dir, output_base)[source]

Execute a multi-line block of bash code and copy the generated image files to specified output directory.