Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c63b4a9

Browse filesBrowse files
committed
auto-x
1 parent 4694d6c commit c63b4a9
Copy full SHA for c63b4a9

File tree

Expand file treeCollapse file tree

4 files changed

+16
-1
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+16
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Minimal explained Gnuplot examples. Compiled outputs: <http://www.cirosantilli.c
2121
1. [offset graph](offset-graph.gnuplot)
2222
1. [logscale](logscale.gnuplot)
2323
1. [border](border.gnuplot)
24+
1. [auto-x](auto-x.gnuplot)
2425
1. Data style
2526
1. [with line](with-line.gnuplot)
2627
1. [with points](with-points.gnuplot)

‎auto-x.gnuplot

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env gnuplot
2+
# https://stackoverflow.com/questions/9664472/having-automatic-x
3+
plot "square-y.data" using 1 with lines

‎data.gnuplot

Copy file name to clipboardExpand all lines: data.gnuplot
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# Only columns 2 and 3:
2222

23-
# p "a.dat" u 2:3
23+
# plot "a.dat" using 2:3
2424

2525
### Store axis labels in the data file
2626

‎square-y.data

Copy file name to clipboard
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Only the Y axis..
2+
0.0
3+
1.0
4+
4.0
5+
9.0
6+
16.0
7+
25.0
8+
36.0
9+
49.0
10+
64.0
11+
81.0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.