The Common API for PLplot

The PLplot Plotting Library: Programmer's Reference Manual
Prev |  | Next

# Chapter 17. The Common API for PLplot

The purpose of this chapter is to document the API for every C function in PLplot that should have a counterpart in other PLplot language bindings such as Fortran 77. These common API routines have a special "c_" prefix name assigned to them in `plplot.h`. This common API between the various languages constitutes the most important part of the PLplot API that programmers need to know. Additional PLplot API specialized for each language binding is documented in Chapter 18 and subsequent chapters.

All common API functions of the current CVS HEAD are listed here with their arguments except for obsolete/deprecated API which is listed in Chapter 22. All functions have a short description, and all parameters are documented.

### `pl_setcontlabelformat`: Set format of numerical label for contours

`pl_setcontlabelformat` (lexp, sigdig);

Set format of numerical label for contours.

`lexp` (`PLINT`, input) If the contour numerical label is greater than 10^(lexp) or less than 10^(-lexp), then the exponential format is used. Default value of lexp is 4. `sigdig` (`PLINT`, input) Number of significant digits. Default value is 2.

Prev | Home | Next
Bibliography | Up | `pl_setcontlabelparam`: Set parameters of contour labelling other than format of numerical label