PLplot  5.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plcont.c File Reference
#include "plplotP.h"

Go to the source code of this file.

Macros

#define FORM_LEN   10
#define TMPSTRING_LEN   15

Functions

static void plcntr (PLFLT(*plf2eval)(PLINT, PLINT, PLPointer), PLPointer plf2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT flev, PLINT **ipts, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
static void pldrawcn (PLFLT(*plf2eval)(PLINT, PLINT, PLPointer), PLPointer plf2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT flev, char *flabel, PLINT kcol, PLINT krow, PLFLT lastx, PLFLT lasty, PLINT startedge, PLINT **ipts, PLFLT *distance, PLINT *lastindex, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
static void plfloatlabel (PLFLT value, char *string, PLINT len)
static PLFLT plP_pcwcx (PLINT x)
static PLFLT plP_pcwcy (PLINT y)
static void pl_drawcontlabel (PLFLT tpx, PLFLT tpy, char *flabel, PLFLT *distance, PLINT *lastindex)
static CONT_LINEalloc_line (void)
static CONT_LEVELalloc_level (PLFLT level)
static void realloc_line (CONT_LINE *line)
static void cont_new_store (PLFLT level)
void cont_clean_store (CONT_LEVEL *ct)
static void cont_xy_store (PLFLT xx, PLFLT yy)
static void cont_mv_store (PLFLT xx, PLFLT yy)
void c_pl_setcontlabelparam (PLFLT offset, PLFLT size, PLFLT spacing, PLINT active)
void c_pl_setcontlabelformat (PLINT lexp, PLINT sigdig)
PLFLT plf2eval1 (PLINT ix, PLINT iy, PLPointer plf2eval_data)
PLFLT plf2eval2 (PLINT ix, PLINT iy, PLPointer plf2eval_data)
PLFLT plf2eval (PLINT ix, PLINT iy, PLPointer plf2eval_data)
PLFLT plf2evalr (PLINT ix, PLINT iy, PLPointer plf2eval_data)
void cont_store (const PLFLT *const *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data, CONT_LEVEL **contour)
void c_plcont (const PLFLT *const *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void plfcont (PLFLT(*f2eval)(PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void pltr0 (PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer PL_UNUSED(pltr_data))
void pltr1 (PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr2 (PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr2p (PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr2f (PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data)

Variables

static int error
static PLFLT contlabel_size = 0.3
static PLFLT contlabel_offset = 0.006
static PLFLT contlabel_space = 0.1
static PLINT contlabel_active = 0
static PLINT limexp = 4
static PLINT sigprec = 2
static CONT_LEVELstartlev = NULL
static CONT_LEVELcurrlev
static CONT_LINEcurrline
static int cont3d = 0

Macro Definition Documentation

#define FORM_LEN   10
#define TMPSTRING_LEN   15

Function Documentation

static CONT_LEVEL* alloc_level ( PLFLT  level)
static

Definition at line 130 of file plcont.c.

static CONT_LINE* alloc_line ( void  )
static

Definition at line 106 of file plcont.c.

void c_pl_setcontlabelformat ( PLINT  lexp,
PLINT  sigdig 
)

Definition at line 260 of file plcont.c.

void c_pl_setcontlabelparam ( PLFLT  offset,
PLFLT  size,
PLFLT  spacing,
PLINT  active 
)

Definition at line 251 of file plcont.c.

void c_plcont ( const PLFLT *const *  f,
PLINT  nx,
PLINT  ny,
PLINT  kx,
PLINT  lx,
PLINT  ky,
PLINT  ly,
const PLFLT clevel,
PLINT  nlevel,
void(*)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer pltr,
PLPointer  pltr_data 
)

Definition at line 513 of file plcont.c.

void cont_clean_store ( CONT_LEVEL ct)

Definition at line 177 of file plcont.c.

static void cont_mv_store ( PLFLT  xx,
PLFLT  yy 
)
static

Definition at line 231 of file plcont.c.

static void cont_new_store ( PLFLT  level)
static

Definition at line 158 of file plcont.c.

void cont_store ( const PLFLT *const *  f,
PLINT  nx,
PLINT  ny,
PLINT  kx,
PLINT  lx,
PLINT  ky,
PLINT  ly,
const PLFLT clevel,
PLINT  nlevel,
void(*)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer pltr,
PLPointer  pltr_data,
CONT_LEVEL **  contour 
)

Definition at line 490 of file plcont.c.

static void cont_xy_store ( PLFLT  xx,
PLFLT  yy 
)
static

Definition at line 213 of file plcont.c.

static void pl_drawcontlabel ( PLFLT  tpx,
PLFLT  tpy,
char *  flabel,
PLFLT distance,
PLINT lastindex 
)
static

Definition at line 266 of file plcont.c.

static void plcntr ( PLFLT(*)(PLINT, PLINT, PLPointer plf2eval,
PLPointer  plf2eval_data,
PLINT  nx,
PLINT  ny,
PLINT  kx,
PLINT  lx,
PLINT  ky,
PLINT  ly,
PLFLT  flev,
PLINT **  ipts,
void(*)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer pltr,
PLPointer  pltr_data 
)
static

Definition at line 610 of file plcont.c.

static void pldrawcn ( PLFLT(*)(PLINT, PLINT, PLPointer plf2eval,
PLPointer  plf2eval_data,
PLINT  nx,
PLINT  ny,
PLINT  kx,
PLINT  lx,
PLINT  ky,
PLINT  ly,
PLFLT  flev,
char *  flabel,
PLINT  kcol,
PLINT  krow,
PLFLT  lastx,
PLFLT  lasty,
PLINT  startedge,
PLINT **  ipts,
PLFLT distance,
PLINT lastindex,
void(*)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer pltr,
PLPointer  pltr_data 
)
static

Definition at line 668 of file plcont.c.

PLFLT plf2eval ( PLINT  ix,
PLINT  iy,
PLPointer  plf2eval_data 
)

Definition at line 451 of file plcont.c.

PLFLT plf2eval1 ( PLINT  ix,
PLINT  iy,
PLPointer  plf2eval_data 
)

Definition at line 414 of file plcont.c.

PLFLT plf2eval2 ( PLINT  ix,
PLINT  iy,
PLPointer  plf2eval_data 
)

Definition at line 432 of file plcont.c.

PLFLT plf2evalr ( PLINT  ix,
PLINT  iy,
PLPointer  plf2eval_data 
)

Definition at line 470 of file plcont.c.

void plfcont ( PLFLT(*)(PLINT, PLINT, PLPointer f2eval,
PLPointer  f2eval_data,
PLINT  nx,
PLINT  ny,
PLINT  kx,
PLINT  lx,
PLINT  ky,
PLINT  ly,
const PLFLT clevel,
PLINT  nlevel,
void(*)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer pltr,
PLPointer  pltr_data 
)

Definition at line 548 of file plcont.c.

static void plfloatlabel ( PLFLT  value,
char *  string,
PLINT  len 
)
static

Definition at line 322 of file plcont.c.

static PLFLT plP_pcwcx ( PLINT  x)
static

Definition at line 393 of file plcont.c.

static PLFLT plP_pcwcy ( PLINT  y)
static

Definition at line 401 of file plcont.c.

void pltr0 ( PLFLT  x,
PLFLT  y,
PLFLT tx,
PLFLT ty,
PLPointer   PL_UNUSEDpltr_data 
)

Definition at line 866 of file plcont.c.

void pltr1 ( PLFLT  x,
PLFLT  y,
PLFLT tx,
PLFLT ty,
PLPointer  pltr_data 
)

Definition at line 882 of file plcont.c.

void pltr2 ( PLFLT  x,
PLFLT  y,
PLFLT tx,
PLFLT ty,
PLPointer  pltr_data 
)

Definition at line 949 of file plcont.c.

void pltr2f ( PLFLT  x,
PLFLT  y,
PLFLT tx,
PLFLT ty,
void pltr_data 
)

Definition at line 1302 of file plcont.c.

void pltr2p ( PLFLT  x,
PLFLT  y,
PLFLT tx,
PLFLT ty,
PLPointer  pltr_data 
)

Definition at line 1121 of file plcont.c.

static void realloc_line ( CONT_LINE line)
static

Definition at line 146 of file plcont.c.

Variable Documentation

int cont3d = 0
static

Definition at line 103 of file plcont.c.

PLINT contlabel_active = 0
static

Definition at line 87 of file plcont.c.

PLFLT contlabel_offset = 0.006
static

Definition at line 79 of file plcont.c.

PLFLT contlabel_size = 0.3
static

Definition at line 75 of file plcont.c.

PLFLT contlabel_space = 0.1
static

Definition at line 83 of file plcont.c.

CONT_LEVEL* currlev
static

Definition at line 100 of file plcont.c.

CONT_LINE* currline
static

Definition at line 101 of file plcont.c.

int error
static

Definition at line 65 of file plcont.c.

PLINT limexp = 4
static

Definition at line 91 of file plcont.c.

PLINT sigprec = 2
static

Definition at line 95 of file plcont.c.

CONT_LEVEL* startlev = NULL
static

Definition at line 99 of file plcont.c.