gnuplot

gnuplot(script_name, args_dict={}, data=[], silent=True)[source]

Call a Gnuplot script, passing it arguments and datasets.

Parameters:
  • scipt_name (str) – The name of the Gnuplot script.
  • args_dict (dict) – A dictionary of parameters to pass to the script. The key is the name of the variable that the item will be passed to the Gnuplot script with.
  • data (list) – A list of lists containing lists to be plotted. The lists can be accessed by plotting the variable data in the Gnuplot script. The first list in the list of lists corresponds to the first column in data, and so on.
  • silent (bool) – True if Gnuplot stdout should be silenced, False if not.
Returns:

The Gnuplot command used to call the script.

Return type:

str