aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/gnuplot.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/gnuplot.md b/src/tools/gnuplot.md
index 97bfdc9..90d5807 100644
--- a/src/tools/gnuplot.md
+++ b/src/tools/gnuplot.md
@@ -56,6 +56,12 @@ plot "< head -n2 data.txt"
plot "data.txt" title "moose"
```
+## Example: Specify range directly during plot
+```sh
+# Plot two functions in the range 0-10.
+plot [0:10] 10*x, 20*x
+```
+
## Example: multiple data sets in plot
```sh
{{#include gnuplot/mem_lat.plot}}