Newer
Older
Publications / Williamson_2005 / linechart.plo
  1. // use ploticus -eps -tightcrop -o run_times.eps linechart.plo
  2.  
  3. #proc settings
  4. units: cm
  5. #endproc
  6.  
  7. #proc getdata
  8. delim: comma
  9. fieldnameheader: yes
  10. data:
  11. num_sources, time_5605, time_11210, time_16815, time_22420
  12. 1,74.45393801,164.238584,268.4231119,395.5453539
  13. 2,127.8150412,279.1868954,539.7388149,781.8267632
  14. 3,149.4828416,406.9234075,841.0447567,1396.823214
  15. 4,188.2833264,634.3747808,1340.074612,2424.239076
  16.  
  17. #proc areadef
  18. areaname: standard
  19. yrange: 0 2500
  20. xrange: 0.8 4.2
  21. autowidth: 1
  22. autoheight: 0.0014
  23.  
  24. #proc yaxis:
  25. stubs: inc
  26. stubdetails: size=9
  27. label: Time (s)
  28. labeldetails: style=B size=10 adjust=-0.3,0
  29. grid: color=gray(0.7)
  30.  
  31. #proc xaxis:
  32. stubs: datafields=num_sources
  33. stubdetails: size=9
  34. label: Number of data sources
  35. labeldetails: style=B size=10 adjust=0,-0.2
  36.  
  37. #proc lineplot
  38. xfield: num_sources
  39. yfield: time_5605
  40. linedetails: color=black
  41. pointsymbol: shape=diamond linecolor=black fillcolor=black
  42. legendlabel: 5,605 rows
  43. legendsampletype: line+symbol
  44.  
  45. #proc lineplot
  46. xfield: num_sources
  47. yfield: time_11210
  48. linedetails: color=black
  49. pointsymbol: shape=square linecolor=black fillcolor=black
  50. legendlabel: 11,210 rows
  51. legendsampletype: line+symbol
  52.  
  53. #proc lineplot
  54. xfield: num_sources
  55. yfield: time_16815
  56. linedetails: color=black
  57. pointsymbol: shape=circle linecolor=black fillcolor=black
  58. legendlabel: 16,815 rows
  59. legendsampletype: line+symbol
  60.  
  61. #proc lineplot
  62. xfield: num_sources
  63. yfield: time_22420
  64. linedetails: color=black
  65. pointsymbol: shape=triangle linecolor=black fillcolor=black
  66. legendlabel: 22,420 rows
  67. legendsampletype: line+symbol
  68.  
  69. #proc legend
  70. format: multiline
  71. location: min+1.5 max-0.75
  72. textdetails: size=10
  73. seglen: 0.25
  74. reverseorder: yes