mirror of https://github.com/CrimsonTome/tldr.git
20 lines
506 B
Markdown
20 lines
506 B
Markdown
|
# gnuplot
|
||
|
|
||
|
> A graph plotter that outputs in several formats.
|
||
|
|
||
|
- Start the interactive graph plotting shell:
|
||
|
|
||
|
`gnuplot`
|
||
|
|
||
|
- Plot the graph for the specified graph definition file:
|
||
|
|
||
|
`gnuplot {{path/to/definition.plt}}`
|
||
|
|
||
|
- Set the output format by executing a command before loading the definition file:
|
||
|
|
||
|
`gnuplot -e "{{set output "path/to/filename.png" size 1024,768}}" {{path/to/definition.plt}}`
|
||
|
|
||
|
- Persist the graph plot preview window after gnuplot exits:
|
||
|
|
||
|
`gnuplot --persist {{path/to/definition.plt}}`
|