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

Side by Side Diff: DB/utils/graphs.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/thread_database.php ('k') | DB/utils/link.plt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 set terminal jpeg size 1200,500 1 set terminal jpeg size 1200,500
2 # reset all options to default, just for precaution 2 # reset all options to default, just for precaution
3 reset 3 reset
4 set output "img/figure_graphs.jpg" 4 set output "img/figure_graphs.jpg"
5 #set style data histograms
6 # set the figure size
7 #set size ratio 0.5
8 5
9 # set the x axis 6 # set the x axis
10 set xlabel "Object index" 7 set xlabel "Object index"
11 set xtics rotate out 8 set xtics rotate out
12 set style fill solid border 9 set style fill solid border
13 # set the y axis 10 # set the y axis
14 set yrange [0:1] noreverse nowriteback 11 set yrange [0:100] noreverse nowriteback
15 set ylabel "Average topology link utilization(%)" 12 set ylabel "Average topology link utilization(%)"
16 set ytics 0,.1,1 13 set ytics 0,10,100
17 14
18 # set no grid (grid lines start from tics on both x and y axis) 15 # set no grid (grid lines start from tics on both x and y axis)
19 #unset grid 16 #unset grid
17 #put the legend outisde the graph
20 set key outside; 18 set key outside;
21 set key right top; 19 set key right top;
22 #set style line 10 linetype 1 linecolor rgb "cyan"
23 #show style line
24 # plot the points from the data file
25 #set style histogram clustered
26 #plot for [COL=2:2] "log_graph/graphs.log" u COL:xticlabels(1) title columnheade r
27 20
21 #plot the log file: 1:2 means that first column is x, second columns is f(x)
28 plot "log_graph/graphs.log" u 1:2 with linespoints ls 1 title columnheader 22 plot "log_graph/graphs.log" u 1:2 with linespoints ls 1 title columnheader
OLDNEW
« no previous file with comments | « DB/thread_database.php ('k') | DB/utils/link.plt » ('j') | no next file with comments »

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