Mercurial > hg > Papers > 2013 > nobuyasu-jssst
annotate Paper/gnuplot/makegraph.sh @ 55:307c87617e62 default tip
add slide
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 11 Sep 2013 10:21:42 +0900 |
parents | fa37607c0c1c |
children |
rev | line source |
---|---|
15
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 #!/bin/sh |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 #plot 'hoge.csv' using '%lf,%lf' |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 #set xrange[0:45] |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 gnuplot << EOF |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 set terminal postscript eps |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 set output 'graph.eps' |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 set title 'title' |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 set xlabel 'nuber of nodes' |
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 set ylabel 'avarage time' |
37
fa37607c0c1c
added gnuplot
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
15
diff
changeset
|
10 plot 'test.dat' using 1:2 lt rgb "red" with linespoints, 'test2.dat' using 1:2 lt rgb "blue" with linespoints |
15
ac82fd7e1ea1
added makegraph.sh
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 EOF |