gplotdata.example 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %
  2. % gplotdata.example
  3. %
  4. % This is an example data file to be used as input for gplot
  5. % from file.
  6. %
  7. % All lines starting with '%' are comments and are ignored
  8. % All blank lines are ignored
  9. % Use '&' at beginning of a line as a control character:
  10. % The first '&' signals that the data is to start
  11. % Subsequent '&' are separators between data for different plots;
  12. % this way, we can have multiple plots on the same output graph
  13. %
  14. % All plot info lines before the "&" that signals start of
  15. % data are optional
  16. %
  17. % If they exist, the first three must be:
  18. % title
  19. % xaxis label
  20. % yaxis label
  21. % These default to null strings.
  22. %
  23. % Optionally after that, the individual plots can
  24. % be labeled and the drawing method specified.
  25. % This is done by specifying:
  26. % number of plots
  27. % title for plot 1
  28. % drawing style for plot 1
  29. % title for plot 2
  30. % drawing style for plot 2
  31. % ...
  32. %
  33. % The defaults are to have the plots untitled and to
  34. % use LINES for the plot. The drawing styles allowed
  35. % are in the set {LINES, POINTS, IMPULSES, LINESPOINTS, DOTS}.
  36. %
  37. this is the title
  38. this is the xaxis label
  39. this is the yaxis label
  40. 4
  41. % (this is a comment line)
  42. plotto uno
  43. LINES
  44. % (this is a comment line)
  45. plotto due
  46. POINTS
  47. % (this is a comment line)
  48. plotto tre
  49. LINESPOINTS
  50. % (this is a comment line)
  51. plotto quattro
  52. DOTS
  53. &&&&&&&&
  54. 1. 4
  55. 2,7
  56. 3 11
  57. b(4) = 19
  58. (5., 31)
  59. 6.2 40
  60. 7.3 , 70
  61. &&&&&&&&
  62. &&&&&&&& oops, I put in an extra one
  63. 1 7
  64. 2.1 15
  65. 3.3 22
  66. 4.5, 36
  67. 5.9 62
  68. &&&&&&&&
  69. 0.5 4
  70. 1.5 10
  71. 2.5 25
  72. 3.5 35
  73. 4.5 47.2
  74. 5.5, 68
  75. &&&&&&&&
  76. 0.2 5
  77. 1.2 12.3
  78. 2.3 27.9
  79. 3.6 42.8
  80. 4.8 61.9
  81. 5.1 68.3