Questions Concepts
GitHub icon


Gnuplot - Programming language

< >

Gnuplot is an open source programming language created in 1986.

#309on PLDB 37Years Old 2kRepos

Try now: Riju · TIO

gnuplot is a command-line program that can generate two- and three-dimensional plots of functions, data, and data fits. It is frequently used for publication-quality graphics as well as in education. The program runs on all major computers and operating systems (Linux, Unix, Microsoft Windows, macOS, and others). Read more on Wikipedia...

Example from Riju:
print "Hello, world!"
Example from Linguist:
#!/usr/bin/env gnuplot reset set terminal png set output 'rates100.png' set xlabel "A2A price" set ylabel "Response Rate" #set xr [0:5] #set yr [0:6] plot 'rates100.dat' pt 7 notitle
Example from Wikipedia:
set title "Some Math Functions" set xrange [-10:10] set yrange [-2:2] set zeroaxis plot (x/4)**2, sin(x), 1/x

Language features

Feature Supported Token Example
Print() Debugging print

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · · Logout