write_gnuplot_script

Function write_gnuplot_script 

Source
pub fn write_gnuplot_script(
    config: &ResolvedGraphConfig,
    context: &GraphFullContext,
    output_script_path: &PathBuf,
    output_image_path: &Path,
) -> Result<(), Error>
Expand description

Write a gnuplot script to the given output path based on the graph configuration.

§Arguments

  • config - The full graph configuration (panels and lines).
  • output_script_path - The path where the .gnu file will be written.
  • output_image_path - The path to the output PNG file.