Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(595)

Side by Side Diff: DB/API_REST/utils/link.plt

Issue 335100043: DB with histogram
Patch Set: DB Created 6 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DB/API_REST/utils/graphs.plt ('k') | DB/API_REST/utils/restart.php » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 set terminal jpeg size 1200,500·
3 # reset all options to default, just for precaution
4 reset
5 set output "img/figure_link.jpg"
6 set style data histograms·
7 # set the figure size
8 #set size ratio 0.5
9
10 # set the x axis
11 set xlabel "Object index"
12 set xtics rotate out
13 set style fill solid border
14 # set the y axis
15 set yrange [0:1] noreverse nowriteback
16 set ylabel "link utilization(%)"
17 set ytics 0,.1,1
18
19 # set no grid (grid lines start from tics on both x and y axis)
20 unset grid
21 set datafile separator ','
22 set key outside;
23 set key right top;
24
25 # plot the points from the data file
26 set style histogram clustered
27 nc = "`awk -F, 'NR == 1 { print NF; exit }' log_graph/single_link.log`"
28 plot for [COL=2:nc] "log_graph/single_link.log" u COL:xticlabels(1) title column header
29
30
OLDNEW
« no previous file with comments | « DB/API_REST/utils/graphs.plt ('k') | DB/API_REST/utils/restart.php » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b