Gnuplot

1 program Added 2025-10-28T06:55:37Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 26a2f16767 · authored 2025-10-28T07:55:37+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

6 sources · pl_id: pl/gnuplot
LLM (this repo) · 1PldbLinguistPygmentsHyperpolyglotRosettacode

Extensions claimed by this language

8 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.gplinguistprimary156.5K files
.plotpygmentsprimary357.6K files
.gnulinguistsecondary84.0K files
.gnuplotlinguistsecondary212.2K files
.plinguistsecondary5.0M files
.plotlinguistsecondary357.6K files
.pltlinguistsecondary330.7K files
.pltpygmentssecondary330.7K files

Related languages

PILOT (0.23)Copilot (0.20)GNU Poke (0.18)Greenfoot (0.18)GAWK (0.17)

LLM-contributed programs

World map plotting with pm3d

Provenance: commit 26a2f16767 · authored 2025-10-28T07:55:37+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.gp · added: 2025-10-28T06:55:37Z
# Lines beginning with # are treated as comments
#
# This gnuplot script demonstrates the use of the "world1"
# map data file.  The data is in a funny format, so we have to
# tell gnuplot how to read it.
#
set palette defined ( 0 "white", 3 "green", 6 "yellow", 9 "brown" )
set pm3d map
splot "world1_110m" using ($1==9999?1:$1):($2==9999?1:$2):3 with pm3d

Real programs from Software Heritage

2 samples mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
plotsurvey.gp · 598 B · ext .gp · seen 35× in SWH
via unique-primary
swh:1:cnt:c89a594696e4b9785153eee2995d10c98db28e47;origin=https://github.com/orblancog/DAFNEmadx;anchor=swh:1:rev:2bdc61b320770bb44a69a5397c90c6bd8ff8c48b;path=/outputs/plotsurvey.gp
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
# this plot compares the output of a survey with the data 
# from the mechanical design


set size ratio 1.45
scalex=1e-3
scaley=scalex
scalexy=scaley

filsurvey = 'survey.dat'

set xlabel "z [m]" font ',18' offset 0
set ylabel "x [m]" font ',18' offset -3

set xtics 10 font ',18'
set mxtics 2
set ytics 10 font ',18'
set mytics 2

set key top left font ',18'

plot \
 filsurvey u 8:6 w p lw 9 lt 8 ti "TL Survey", \
 'TL_design_mec_2017SET20.dat' u ($2*scalex):($3*scaley) w p lw 6 lt 7 ti "TL design", \
 'TL_measured_mec_2017SET20.dat' u ($4*scalex):($5*scaley) w p lt 6 lw 20 ti 'TL measured'
insert_time_vs_n.gnuplot · 285 B · ext .gnuplot · seen 1× in SWH
via fallback
swh:1:cnt:d7c8413925ca7dd7503adb5ce8c15d23104ca3be;origin=https://github.com/kenorb-contrib/BitTorrent;anchor=swh:1:rev:e4ee90ad20dc3770515071ac8dc0ffe3799098a6;path=/python_bt_codebase_library/BTL/tests/CMapTests/insert_time_vs_n.gnuplot
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source

set terminal postscript eps
set output "insert_time_vs_n.eps"

set yrange [0:]
set title "time for n inserts"

plot "dict_random_inserts_vs_n.txt", \
     "cmap_random_inserts_vs_n.txt", \
     "pmap_random_inserts_vs_n.txt", \
     "cindexedmap_random_inserts_vs_n.txt"

#pause -1


Disambiguation rules

Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
RuleExtKindPredicates (truncated)
h/linguist/.p/0.ppredicates[{"kind": "any", "regexes": ["^s?plot\\b", "^set\\s+(term|terminal|out|output|[xy]tics|[xy]label|[xy]range|style)\\b"]}]

Contribute — propose a file extension

Tell us where to find evidence about Gnuplot (mapped to pl/gnuplot). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Gnuplot/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← GnuCOBOL Go →