Leptonica  1.82.0
Image processing and image analysis suite
gplot.h File Reference

Go to the source code of this file.

Data Structures

struct  GPlot
 

Macros

#define GPLOT_VERSION_NUMBER   1
 
#define NUM_GPLOT_STYLES   5
 
#define NUM_GPLOT_OUTPUTS   6
 

Typedefs

typedef struct GPlot GPLOT
 

Enumerations

enum  GPLOT_STYLE {
  GPLOT_LINES = 0 , GPLOT_POINTS = 1 , GPLOT_IMPULSES = 2 , GPLOT_LINESPOINTS = 3 ,
  GPLOT_DOTS = 4
}
 
enum  GPLOT_OUTPUT {
  GPLOT_NONE = 0 , GPLOT_PNG = 1 , GPLOT_PS = 2 , GPLOT_EPS = 3 ,
  GPLOT_LATEX = 4 , GPLOT_PNM = 5
}
 
enum  GPLOT_SCALING { GPLOT_LINEAR_SCALE = 0 , GPLOT_LOG_SCALE_X = 1 , GPLOT_LOG_SCALE_Y = 2 , GPLOT_LOG_SCALE_X_Y = 3 }
 

Variables

const char * gplotstylenames []
 
const char * gplotfileoutputs []
 

Detailed Description

  Data structures and parameters for generating gnuplot files

  We used to support X11 output, but recent versions of gnuplot do not
  support the X11 terminal.  To get display to your screen, use
  GPLOT_PNG output; e.g.,
      gplotSimple1(na, GPLOT_PNG, "/tmp/someroot", ...);
      l_fileDisplay("/tmp/someroot.png", ...);

Definition in file gplot.h.

Enumeration Type Documentation

◆ GPLOT_SCALING

Enumerator
GPLOT_LINEAR_SCALE 

default

Definition at line 65 of file gplot.h.

Variable Documentation

◆ gplotfileoutputs

const char* gplotfileoutputs[]
extern

used in simple file input

Definition at line 157 of file gplot.c.

◆ gplotstylenames

const char* gplotstylenames[]
extern

used in gnuplot cmd file

Definition at line 152 of file gplot.c.