Created
June 20, 2022 17:35
-
-
Save tomwhoiscontrary/6586e7e82a8ccb590f09e2f2859bd5a7 to your computer and use it in GitHub Desktop.
GNUplot example for https://stackoverflow.com/a/52210067/116639
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 0.000000 | |
2 0.301030 | |
3 0.477121 | |
4 0.602060 | |
5 0.698970 | |
6 0.778151 | |
7 0.845098 | |
8 0.903090 | |
9 0.954243 | |
10 1.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# function extends to infinity, initial zoom is 1:10 | |
plot "file.dat" using 1:2 with lines, sin(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# function is limited to range, initial zoom is 1:10 | |
plot "file.dat" using 1:2 with lines, [1:3] sin(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# function extends to infinity, initial zoom is 1:3 | |
plot [1:3] sin(x), "file.dat" using 1:2 with lines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# function extends to infinity, initial zoom is 1:3 | |
plot [1:3] sin(x), [1:10] "file.dat" using 1:2 with lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment