Leptonica 1.85.0
Image processing and image analysis suite
Loading...
Searching...
No Matches
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.

Macro Definition Documentation

◆ GPLOT_VERSION_NUMBER

#define GPLOT_VERSION_NUMBER   1

Definition at line 44 of file gplot.h.

◆ NUM_GPLOT_OUTPUTS

#define NUM_GPLOT_OUTPUTS   6

Definition at line 55 of file gplot.h.

◆ NUM_GPLOT_STYLES

#define NUM_GPLOT_STYLES   5

Definition at line 46 of file gplot.h.

Typedef Documentation

◆ GPLOT

typedef struct GPlot GPLOT

Definition at line 93 of file gplot.h.

Enumeration Type Documentation

◆ GPLOT_OUTPUT

enum GPLOT_OUTPUT

Definition at line 56 of file gplot.h.

◆ GPLOT_SCALING

Enumerator
GPLOT_LINEAR_SCALE 

default

Definition at line 65 of file gplot.h.

◆ GPLOT_STYLE

enum GPLOT_STYLE

Definition at line 47 of file gplot.h.

Variable Documentation

◆ gplotfileoutputs

const char* gplotfileoutputs[]
extern

used in simple file input

Definition at line 162 of file gplot.c.

◆ gplotstylenames

const char* gplotstylenames[]
extern

used in gnuplot cmd file

Definition at line 157 of file gplot.c.

Referenced by gplotGenCommandFile().