Chapter 19. The Specialized C API for PLplot
Prev | Part IV. Reference | Next

## Chapter 19. The Specialized C API for PLplot

The purpose of this chapter is to document the PLplot C functions that are currently not part of the common API, either because they are C/C++ specific utility functions (e.g. `plAlloc2dGrid`, `plFree2dGrid`) or because they are not easily implemented in other languages (e.g. `plGetCursor`). Some of these functions are used in the examples and may be helpful for other users of plplot.

This chapter also documents some of the data types and structures defined by plplot and used by the functions.

#### `plabort`: Error abort

`plabort (` | message`)`;

This routine is to be used when something goes wrong that doesn't require calling `plexit` but for which there is no useful recovery. It calls the abort handler defined via `plsabort`, does some cleanup and returns. The user can supply his/her own abort handler and pass it in via `plsabort`.

`message` (`char *`, input)

  Abort message.

This function is currently available in C, f95 and python.

This function is used in example 20.

Prev | Up | Next
`plxormod`: Enter or leave xor mode | Home | `plAlloc2dGrid`: Allocate a block of memory for use as a 2-d grid of type PLFLT.