Last active
November 2, 2018 17:24
-
-
Save artbikes/0cbe23e5c9d014b06083769d6025ba62 to your computer and use it in GitHub Desktop.
gnuplot $$
This file contains hidden or 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
FROM debian:sid | |
RUN apt-get update -y | |
RUN apt-get install -y gnuplot | |
ENTRYPOINT ["/usr/bin/gnuplot"] |
This file contains hidden or 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
gnuplot(){ | |
docker run --rm \ | |
--volume $PWD:/mnt/work -w /mnt/work \ | |
artbikes/gnuplot "$@" | |
} |
This file contains hidden or 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
2018-07-01 |
This file contains hidden or 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
2017-01-01 10,000 |
This file contains hidden or 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
set term png | |
set output "newssa.png" | |
set xdata time | |
unset xtics | |
set timefmt "%Y-%m-%d" | |
set xrange [ "1983-01-01" : "2017-01-01"] | |
set style line 1 \ | |
linecolor rgb '#0060ad' \ | |
linetype 1 linewidth 2 \ | |
pointtype 7 pointsize 1.5 | |
max = 200 | |
plot 'newssa.data'using 1:2 with linespoints linestyle 1 notitle, \ | |
'jobs.dat' using 1:(max) with impulses lw 2 notitle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment