PLplot: plbox.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
plbox.c File Reference
`#include "plplotP.h"`

Go to the source code of this file.

## Macros
#define | STRING_LEN 40
#define | FORMAT_LEN 10
#define | TEMP_LEN 30
#define | N_EDGE_SEGMENTS 50

## Functions
static void | plxybx (const char *opt, const char *label, PLINT axis, PLFLT wx1, PLFLT wy1, PLFLT wx2, PLFLT wy2, PLFLT vmin, PLFLT vmax, PLFLT tick, PLINT nsub, PLINT nolast, PLINT *digits)
static void | plzbx (const char *opt, const char *label, PLINT right, PLFLT dx, PLFLT dy, PLFLT wx, PLFLT wy1, PLFLT wy2, PLFLT vmin, PLFLT vmax, PLFLT tick, PLINT nsub, PLINT *digits)
static void | plxytx (PLFLT wx1, PLFLT wy1, PLFLT wx2, PLFLT wy2, PLFLT disp, PLFLT pos, PLFLT just, const char *text)
static void | plztx (const char *opt, PLFLT dx, PLFLT dy, PLFLT wx, PLFLT wy1, PLFLT wy2, PLFLT disp, PLFLT pos, PLFLT just, const char *text)
static void | plform (PLINT axis, PLFLT value, PLINT scale, PLINT prec, char *result, PLINT len, PLBOOL ll, PLBOOL lf, PLBOOL lo)
static void | grid_box (const char *xopt, PLFLT xtick1, PLINT nxsub1, const char *yopt, PLFLT ytick1, PLINT nysub1)
static void | label_box (const char *xopt, PLFLT xtick1, const char *yopt, PLFLT ytick1)
static void | plP_default_label_log (PLINT axis, PLFLT value, char *string, PLINT len, void *data)
static void | plP_default_label_log_fixed (PLINT axis, PLFLT value, char *string, PLINT len, void *data)
static void | plP_default_label (PLINT axis, PLFLT value, char *string, PLINT len, void *data)
static const char * | plgesc_string (void)
void | c_plbox (const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub)
void | c_plaxes (PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub)
void | c_plbox3 (const char *xopt, const char *xlabel, PLFLT xtick, PLINT nxsub, const char *yopt, const char *ylabel, PLFLT ytick, PLINT nysub, const char *zopt, const char *zlabel, PLFLT ztick, PLINT nzsub)
static void | plxybx (const char *opt, const char *label, PLINT axis, PLFLT wx1, PLFLT wy1, PLFLT wx2, PLFLT wy2, PLFLT vmin_in, PLFLT vmax_in, PLFLT tick, PLINT nsub, PLINT PL_UNUSED(nolast), PLINT *digits)
void | label_box_custom (const char *xopt, PLINT n_xticks, const PLFLT *xticks, const char *yopt, PLINT n_yticks, const PLFLT *yticks)
void | plP_default_label_log (PLINT PL_UNUSED(axis), PLFLT value, char *string, PLINT len, void *PL_UNUSED(data))
void | plP_default_label_log_fixed (PLINT PL_UNUSED(axis), PLFLT value, char *string, PLINT len, void *PL_UNUSED(data))
void | plP_default_label (PLINT PL_UNUSED(axis), PLFLT value, char *string, PLINT len, void *data)
void | c_plslabelfunc (void(*label_func)(PLINT, PLFLT, char *, PLINT, PLPointer), PLPointer label_data)

## Variables
static PLFLT | xlog [8]

## Macro Definition Documentation

#define FORMAT_LEN 10

Definition at line 28 of file plbox.c.

#define N_EDGE_SEGMENTS 50

Definition at line 30 of file plbox.c.

#define STRING_LEN 40

Definition at line 27 of file plbox.c.

#define TEMP_LEN 30

Definition at line 29 of file plbox.c.

## Function Documentation

void c_plaxes | ( | PLFLT | x0,
|  | PLFLT | y0,
|  | const char * | xopt,
|  | PLFLT | xtick,
|  | PLINT | nxsub,
|  | const char * | yopt,
|  | PLFLT | ytick,
|  | PLINT | nysub
| ) |  |

Definition at line 137 of file plbox.c.

void c_plbox | ( | const char * | xopt,
|  | PLFLT | xtick,
|  | PLINT | nxsub,
|  | const char * | yopt,
|  | PLFLT | ytick,
|  | PLINT | nysub
| ) |  |

Definition at line 91 of file plbox.c.

void c_plbox3 | ( | const char * | xopt,
|  | const char * | xlabel,
|  | PLFLT | xtick,
|  | PLINT | nxsub,
|  | const char * | yopt,
|  | const char * | ylabel,
|  | PLFLT | ytick,
|  | PLINT | nysub,
|  | const char * | zopt,
|  | const char * | zlabel,
|  | PLFLT | ztick,
|  | PLINT | nzsub
| ) |  |

Definition at line 596 of file plbox.c.

void c_plslabelfunc | ( | void(*)(PLINT, PLFLT, char *, PLINT, PLPointer) | label_func,
|  | PLPointer | label_data
| ) |  |

Definition at line 2608 of file plbox.c.

static void grid_box | ( | const char * | xopt,
|  | PLFLT | xtick1,
|  | PLINT | nxsub1,
|  | const char * | yopt,
|  | PLFLT | ytick1,
|  | PLINT | nysub1
| ) |  |
| static

Definition at line 1264 of file plbox.c.

static void label_box | ( | const char * | xopt,
|  | PLFLT | xtick1,
|  | const char * | yopt,
|  | PLFLT | ytick1
| ) |  |
| static

Definition at line 1395 of file plbox.c.

void label_box_custom | ( | const char * | xopt,
|  | PLINT | n_xticks,
|  | const PLFLT * | xticks,
|  | const char * | yopt,
|  | PLINT | n_yticks,
|  | const PLFLT * | yticks
| ) |  |

Definition at line 1888 of file plbox.c.

static void plform | ( | PLINT | axis,
|  | PLFLT | value,
|  | PLINT | scale,
|  | PLINT | prec,
|  | char * | result,
|  | PLINT | len,
|  | PLBOOL | ll,
|  | PLBOOL | lf,
|  | PLBOOL | lo
| ) |  |
| static

Definition at line 2546 of file plbox.c.

static const char * plgesc_string | ( | void |  | ) |
| static

Definition at line 2615 of file plbox.c.

static void plP_default_label | ( | PLINT | axis,
|  | PLFLT | value,
|  | char * | string,
|  | PLINT | len,
|  | void * | data
| ) |  |
| static

void plP_default_label | ( | PLINT | PL_UNUSEDaxis,
|  | PLFLT | value,
|  | char * | string,
|  | PLINT | len,
|  | void * | data
| ) |  |

Definition at line 2490 of file plbox.c.

static void plP_default_label_log | ( | PLINT | axis,
|  | PLFLT | value,
|  | char * | string,
|  | PLINT | len,
|  | void * | data
| ) |  |
| static

void plP_default_label_log | ( | PLINT | PL_UNUSEDaxis,
|  | PLFLT | value,
|  | char * | string,
|  | PLINT | len,
|  | void * | PL_UNUSEDdata
| ) |  |

Definition at line 2464 of file plbox.c.

static void plP_default_label_log_fixed | ( | PLINT | axis,
|  | PLFLT | value,
|  | char * | string,
|  | PLINT | len,
|  | void * | data
| ) |  |
| static

void plP_default_label_log_fixed | ( | PLINT | PL_UNUSEDaxis,
|  | PLFLT | value,
|  | char * | string,
|  | PLINT | len,
|  | void * | PL_UNUSEDdata
| ) |  |

Definition at line 2471 of file plbox.c.

static void plxybx | ( | const char * | opt,
|  | const char * | label,
|  | PLINT | axis,
|  | PLFLT | wx1,
|  | PLFLT | wy1,
|  | PLFLT | wx2,
|  | PLFLT | wy2,
|  | PLFLT | vmin,
|  | PLFLT | vmax,
|  | PLFLT | tick,
|  | PLINT | nsub,
|  | PLINT | nolast,
|  | PLINT * | digits
| ) |  |
| static

static void plxybx | ( | const char * | opt,
|  | const char * | label,
|  | PLINT | axis,
|  | PLFLT | wx1,
|  | PLFLT | wy1,
|  | PLFLT | wx2,
|  | PLFLT | wy2,
|  | PLFLT | vmin_in,
|  | PLFLT | vmax_in,
|  | PLFLT | tick,
|  | PLINT | nsub,
|  | PLINT | PL_UNUSEDnolast,
|  | PLINT * | digits
| ) |  |
| static

Definition at line 787 of file plbox.c.

static void plxytx | ( | PLFLT | wx1,
|  | PLFLT | wy1,
|  | PLFLT | wx2,
|  | PLFLT | wy2,
|  | PLFLT | disp,
|  | PLFLT | pos,
|  | PLFLT | just,
|  | const char * | text
| ) |  |
| static

Definition at line 948 of file plbox.c.

static void plzbx | ( | const char * | opt,
|  | const char * | label,
|  | PLINT | right,
|  | PLFLT | dx,
|  | PLFLT | dy,
|  | PLFLT | wx,
|  | PLFLT | wy1,
|  | PLFLT | wy2,
|  | PLFLT | vmin,
|  | PLFLT | vmax,
|  | PLFLT | tick,
|  | PLINT | nsub,
|  | PLINT * | digits
| ) |  |
| static

Definition at line 1016 of file plbox.c.

static void plztx | ( | const char * | opt,
|  | PLFLT | dx,
|  | PLFLT | dy,
|  | PLFLT | wx,
|  | PLFLT | wy1,
|  | PLFLT | wy2,
|  | PLFLT | disp,
|  | PLFLT | pos,
|  | PLFLT | just,
|  | const char * | text
| ) |  |
| static

Definition at line 1195 of file plbox.c.

## Variable Documentation

PLFLT xlog[8]
| static

Initial value:
{
0.301030, 0.477121, 0.602060, 0.698970,
0.778151, 0.845098, 0.903090, 0.954243
}

Definition at line 32 of file plbox.c.