MCPcopy Create free account
hub / github.com/SiegeLord/RustGnuplot / set_terminal

Method set_terminal

gnuplot/src/figure.rs:223–235  ·  view source on GitHub ↗

Sets the terminal for gnuplot to use, as well as the file to output the figure to. Terminals that spawn a GUI don't need an output file, so pass an empty string for those. There are a quite a number of terminals, here are some commonly used ones: wxt - Interactive GUI pdfcairo - Saves the figure as a PDF file epscairo - Saves the figure as a EPS file pngcairo - Saves the figure as a PNG file svg

(&'l mut self, terminal: &str, output_file: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

flush_testFunction · 0.80
showMethod · 0.80
mainFunction · 0.80
exampleFunction · 0.80

Calls

no outgoing calls

Tested by 1

flush_testFunction · 0.64