Skip to content

Commit a0890cb

Browse files
committed
.data -> .dat which is more standard
1 parent b308141 commit a0890cb

20 files changed

+12
-12
lines changed

auto-x.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env gnuplot
22
# https://stackoverflow.com/questions/9664472/having-automatic-x
3-
plot "square-y.data" using 1 with lines
3+
plot "square-y.dat" using 1 with lines
File renamed without changes.

columnheader.gnuplot

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
set multiplot layout 2,1
77

8-
plot 'columnheader.data' using 1:2 title columnheader(2), \
8+
plot 'columnheader.dat' using 1:2 title columnheader(2), \
99
'' using 1:3 title columnheader(3)
1010

1111
set key autotitle columnheader
12-
plot 'columnheader.data' using 1:2, \
12+
plot 'columnheader.dat' using 1:2, \
1313
'' using 1:3
1414

1515
unset multiplot
File renamed without changes.

data-multiple-headers.gnuplot.off

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# http://stackoverflow.com/questions/12818797/gnuplot-plotting-several-datasets-with-titles-from-one-file/39211206#39211206
44

5-
datafile = 'tmp.data'
5+
datafile = 'tmp.dat'
66
stats datafile nooutput
77
plot for [IDX=0:STATS_blocks-1] \
88
datafile \

data.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626

2727
# TODO?
2828

29-
plot "square.data"
29+
plot "square.dat"

line.data renamed to line.dat

File renamed without changes.
File renamed without changes.

multiple-blocks-headers.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env gnuplot
22
# Choose by data set name from header comments in data file.
33
plot \
4-
'multiple-with-headers.data' \
4+
'multiple-with-headers.dat' \
55
index 'Square' \
66
title 'my square' \
77
with linespoints \
File renamed without changes.

multiple-blocks.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# with a known number of blocks.
55

66
plot \
7-
'multiple-blocks.data' \
7+
'multiple-blocks.dat' \
88
index 0 \
99
title 'my line' \
1010
with linespoints \

multiple-columns.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set title "my subtitle 1 1"
88
# Column choice method.
99
# Variable to reuse file name.
1010
# Can also be done with empty filename string.
11-
f = 'square-line.data'
11+
f = 'square-line.dat'
1212
plot f using 1:2 title 'Square' with linespoints, \
1313
f using 3:4 title 'Line' with linespoints
1414

File renamed without changes.

point-label-format.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# https://stackoverflow.com/questions/34514279/using-sprintf-to-print-string-value
33
set yrange [0:5]
44
set xrange [0:5]
5-
plot "point-label.data" \
5+
plot "point-label.dat" \
66
using 1:2:(sprintf("(%d, %s)", $1, stringcolumn(4))) \
77
with labels offset 0,char 1 point
File renamed without changes.

point-label.gnuplot

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# https://superuser.com/questions/997032/how-to-plot-data-with-lines-and-label-in-each-point
33
set yrange [0:5]
44
set xrange [0:5]
5-
plot "point-label.data" using 1:2:4 with labels offset 0,char 1 point
5+
plot "point-label.dat" using 1:2:4 with labels offset 0,char 1 point
File renamed without changes.
File renamed without changes.

square.data renamed to square.dat

File renamed without changes.

with-line.gnuplot

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# Add a line to plotted data.
1010

1111
plot \
12-
"square.data" with lines,\
13-
"line.data" w l
12+
"square.dat" with lines,\
13+
"line.dat" w l

0 commit comments

Comments
 (0)