GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
12
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
Publications
Browse code
- Fixed x axis label for bar chart.
- Fixed legend entries for line chart.
Williamson_2005
1 parent
f98c8db
commit
a248bb1d902fb820104d4e3a61f9189c7b733d19
nstanger
authored
on 18 Aug 2005
Patch
Showing
2 changed files
barchart.plo
linechart.plo
Ignore Space
Show notes
View
barchart.plo
// use ploticus -eps -tightcrop -o output_sizes.eps barchart.plo #proc settings units: cm #endproc #proc getdata delim: comma fieldnameheader: yes data: data_set,feed_size,sql_size 5605,0.778901,1.2223949 11210,1.560481,2.4712457 16815,2.353235,3.7134646 22420,3.146175,4.9882384 #proc areadef areaname: slide autowidth: 0.9 yrange: 0 5 xrange: 0.5 4.5 #proc yaxis: stubs: inc stubdetails: size=9 label: Output size (megabytes) labeldetails: style=B size=10 grid: color=gray(0.7) #proc xaxis: stubs: datafields=data_set stubdetails: size=9 adjust=0,0.2 label: Number of records in source data set labeldetails: style=B size=10 adjust=0,0.1 tics: none #proc bars lenfield: feed_size color: gray(0.3) cluster: 1 / 2 barwidth: 0.5 legendlabel: Atom feed #proc bars lenfield: sql_size color: white cluster: 2 / 2 barwidth: 0.5 legendlabel: Corresponding SQL code #proc legend format: multiline location: min+1 max-0.15 textdetails: size=9 outlinecolors: yes
// use ploticus -eps -tightcrop -o output_sizes.eps barchart.plo #proc settings units: cm #endproc #proc getdata delim: comma fieldnameheader: yes data: data_set,feed_size,sql_size 5605,0.778901,1.2223949 11210,1.560481,2.4712457 16815,2.353235,3.7134646 22420,3.146175,4.9882384 #proc areadef areaname: slide autowidth: 0.9 yrange: 0 5 xrange: 0.5 4.5 #proc yaxis: stubs: inc stubdetails: size=9 label: Output size (megabytes) labeldetails: style=B size=10 grid: color=gray(0.7) #proc xaxis: stubs: datafields=data_set stubdetails: size=9 adjust=0,0.2 label: Number of updates to source data set labeldetails: style=B size=10 adjust=0,0.1 tics: none #proc bars lenfield: feed_size color: gray(0.3) cluster: 1 / 2 barwidth: 0.5 legendlabel: Atom feed #proc bars lenfield: sql_size color: white cluster: 2 / 2 barwidth: 0.5 legendlabel: Corresponding SQL code #proc legend format: multiline location: min+1 max-0.15 textdetails: size=9 outlinecolors: yes
Ignore Space
Show notes
View
linechart.plo
// use ploticus -eps -tightcrop -o run_times.eps linechart.plo #proc settings units: cm #endproc #proc getdata delim: comma fieldnameheader: yes data: num_sources, time_5605, time_11210, time_16815, time_22420 1,74.45393801,164.238584,268.4231119,395.5453539 2,127.8150412,279.1868954,539.7388149,781.8267632 3,149.4828416,406.9234075,841.0447567,1396.823214 4,188.2833264,634.3747808,1340.074612,2424.239076 #proc areadef areaname: standard yrange: 0 2500 xrange: 0.8 4.2 autowidth: 1 autoheight: 0.0014 #proc yaxis: stubs: inc stubdetails: size=9 label: Time (s) labeldetails: style=B size=10 adjust=-0.3,0 grid: color=gray(0.7) #proc xaxis: stubs: datafields=num_sources stubdetails: size=9 label: Number of data sources labeldetails: style=B size=10 adjust=0,-0.2 #proc lineplot xfield: num_sources yfield: time_5605 linedetails: color=black pointsymbol: shape=diamond linecolor=black fillcolor=black legendlabel: 5,605 records legendsampletype: line+symbol #proc lineplot xfield: num_sources yfield: time_11210 linedetails: color=black pointsymbol: shape=square linecolor=black fillcolor=black legendlabel: 11,210 records legendsampletype: line+symbol #proc lineplot xfield: num_sources yfield: time_16815 linedetails: color=black pointsymbol: shape=circle linecolor=black fillcolor=black legendlabel: 16,815 records legendsampletype: line+symbol #proc lineplot xfield: num_sources yfield: time_22420 linedetails: color=black pointsymbol: shape=triangle linecolor=black fillcolor=black legendlabel: 22,420 records legendsampletype: line+symbol #proc legend format: multiline location: min+1.5 max-0.75 textdetails: size=10 seglen: 0.25 reverseorder: yes
// use ploticus -eps -tightcrop -o run_times.eps linechart.plo #proc settings units: cm #endproc #proc getdata delim: comma fieldnameheader: yes data: num_sources, time_5605, time_11210, time_16815, time_22420 1,74.45393801,164.238584,268.4231119,395.5453539 2,127.8150412,279.1868954,539.7388149,781.8267632 3,149.4828416,406.9234075,841.0447567,1396.823214 4,188.2833264,634.3747808,1340.074612,2424.239076 #proc areadef areaname: standard yrange: 0 2500 xrange: 0.8 4.2 autowidth: 1 autoheight: 0.0014 #proc yaxis: stubs: inc stubdetails: size=9 label: Time (s) labeldetails: style=B size=10 adjust=-0.3,0 grid: color=gray(0.7) #proc xaxis: stubs: datafields=num_sources stubdetails: size=9 label: Number of data sources labeldetails: style=B size=10 adjust=0,-0.2 #proc lineplot xfield: num_sources yfield: time_5605 linedetails: color=black pointsymbol: shape=diamond linecolor=black fillcolor=black legendlabel: 5,605 updates legendsampletype: line+symbol #proc lineplot xfield: num_sources yfield: time_11210 linedetails: color=black pointsymbol: shape=square linecolor=black fillcolor=black legendlabel: 11,210 updates legendsampletype: line+symbol #proc lineplot xfield: num_sources yfield: time_16815 linedetails: color=black pointsymbol: shape=circle linecolor=black fillcolor=black legendlabel: 16,815 updates legendsampletype: line+symbol #proc lineplot xfield: num_sources yfield: time_22420 linedetails: color=black pointsymbol: shape=triangle linecolor=black fillcolor=black legendlabel: 22,420 updates legendsampletype: line+symbol #proc legend format: multiline location: min+1.5 max-0.75 textdetails: size=10 seglen: 0.25 reverseorder: yes
Show line notes below