pranavjha/text-detector

View on GitHub
third-party/leptonica/prog/gplotdata.example

Summary

Maintainability
Test Coverage
%
%    gplotdata.example
%
% This is an example data file to be used as input for gplot
% from file.
%
% All lines starting with '%' are comments and are ignored
% All blank lines are ignored
% Use '&' at beginning of a line as a control character:
%   The first '&' signals that the data is to start
%   Subsequent '&' are separators between data for different plots;
%   this way, we can have multiple plots on the same output graph
%
% All plot info lines before the "&" that signals start of 
% data are optional
%
% If they exist, the first three must be:
%       title
%       xaxis label
%       yaxis label
% These default to null strings.
%
% Optionally after that, the individual plots can
% be labeled and the drawing method specified.
% This is done by specifying:
%       number of plots
%       title for plot 1
%       drawing style for plot 1
%       title for plot 2
%       drawing style for plot 2
%       ...
% 
% The defaults are to have the plots untitled and to
% use LINES for the plot.  The drawing styles allowed
% are in the set {LINES, POINTS, IMPULSES, LINESPOINTS, DOTS}.
%      

this is the title
this is the xaxis label
this is the yaxis label
4
%  (this is a comment line)
plotto uno
LINES
%  (this is a comment line)
plotto due
POINTS
%  (this is a comment line)
plotto tre
LINESPOINTS
%  (this is a comment line)
plotto quattro
DOTS
&&&&&&&&
1.  4
2,7
3  11
b(4) = 19
(5., 31)
6.2   40
7.3 , 70
&&&&&&&&
&&&&&&&&   oops, I put in an extra one
1   7
2.1    15
3.3    22
4.5, 36
5.9    62
&&&&&&&&
0.5  4
1.5   10
2.5   25
3.5   35
4.5   47.2
5.5, 68
&&&&&&&&
0.2  5
1.2   12.3
2.3   27.9
3.6   42.8
4.8   61.9
5.1   68.3