Skip to content

Instantly share code, notes, and snippets.

@bpot
Created September 25, 2012 18:26
Show Gist options
  • Save bpot/3783571 to your computer and use it in GitHub Desktop.
Save bpot/3783571 to your computer and use it in GitHub Desktop.
$ gnuplot
G N U P L O T
Version 4.6 patchlevel 0 last modified 2012-03-04
Build System: Linux x86_64
Copyright (C) 1986-1993, 1998, 2004, 2007-2012
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type set to 'wxt'
gnuplot> set terminal dumb
Terminal type set to 'dumb'
Options are 'feed size 79, 24'
gnuplot> set xrange [0:1]
gnuplot> plot 0.5 - abs(x - 0.5)
0.5 ++------------+------------+------*------+------------+------------++
+ + + ** ** +0.5 - abs(x - 0.5) ****** +
0.45 ++ ** ** ++
| ** ** |
0.4 ++ ** ** ++
| * * |
0.35 ++ ** ** ++
| ** ** |
0.3 ++ ** ** ++
0.25 ++ *** *** ++
| * * |
0.2 ++ ** ** ++
| ** ** |
0.15 ++ ** ** ++
| *** *** |
0.1 ++ ** ** ++
| ** ** |
0.05 ++ ** ** ++
+** + + + + **+
0 **------------+------------+-------------+------------+------------**
0 0.2 0.4 0.6 0.8 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment