From 49f3c649729c5577946ef7792dd26c0067293021 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 20 Aug 2024 01:05:27 +0200 Subject: gnuplot: example plot inline function --- src/tools/gnuplot.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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}} -- cgit v1.2.3