PLplot: plcont.c File Reference

PLplot 5.10.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
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_LINE * | alloc_line (void)
static CONT_LEVEL * | alloc_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_LEVEL * | startlev = NULL
static CONT_LEVEL * | currlev
static CONT_LINE * | currline
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 132 of file plcont.c.

static CONT_LINE* alloc_line | ( | void |  | ) |
| static

Definition at line 108 of file plcont.c.

void c_pl_setcontlabelformat | ( | PLINT | lexp,
|  | PLINT | sigdig
| ) |  |

Definition at line 262 of file plcont.c.

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

Definition at line 253 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 515 of file plcont.c.

void cont_clean_store | ( | CONT_LEVEL * | ct | ) |

Definition at line 179 of file plcont.c.

static void cont_mv_store | ( | PLFLT | xx,
|  | PLFLT | yy
| ) |  |
| static

Definition at line 233 of file plcont.c.

static void cont_new_store | ( | PLFLT | level | ) |
| static

Definition at line 160 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 492 of file plcont.c.

static void cont_xy_store | ( | PLFLT | xx,
|  | PLFLT | yy
| ) |  |
| static

Definition at line 215 of file plcont.c.

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

Definition at line 268 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 612 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 670 of file plcont.c.

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

Definition at line 453 of file plcont.c.

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

Definition at line 416 of file plcont.c.

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

Definition at line 434 of file plcont.c.

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

Definition at line 472 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 550 of file plcont.c.

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

Definition at line 324 of file plcont.c.

static PLFLT plP_pcwcx | ( | PLINT | x | ) |
| static

Definition at line 395 of file plcont.c.

static PLFLT plP_pcwcy | ( | PLINT | y | ) |
| static

Definition at line 403 of file plcont.c.

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

Definition at line 868 of file plcont.c.

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

Definition at line 884 of file plcont.c.

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

Definition at line 951 of file plcont.c.

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

Definition at line 1304 of file plcont.c.

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

Definition at line 1123 of file plcont.c.

static void realloc_line | ( | CONT_LINE * | line | ) |
| static

Definition at line 148 of file plcont.c.

## Variable Documentation

int cont3d = 0
| static

Definition at line 105 of file plcont.c.

PLINT contlabel_active = 0
| static

Definition at line 89 of file plcont.c.

PLFLT contlabel_offset = 0.006
| static

Definition at line 81 of file plcont.c.

PLFLT contlabel_size = 0.3
| static

Definition at line 77 of file plcont.c.

PLFLT contlabel_space = 0.1
| static

Definition at line 85 of file plcont.c.

CONT_LEVEL* currlev
| static

Definition at line 102 of file plcont.c.

CONT_LINE* currline
| static

Definition at line 103 of file plcont.c.

int error
| static

Definition at line 67 of file plcont.c.

PLINT limexp = 4
| static

Definition at line 93 of file plcont.c.

PLINT sigprec = 2
| static

Definition at line 97 of file plcont.c.

CONT_LEVEL* startlev = NULL
| static

Definition at line 101 of file plcont.c.