plsmem: Set the memory area to be plotted

The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 17. The Common API for PLplot | Next

### `plsmem`: Set the memory area to be plotted

`plsmem` (maxx, maxy, plotmem);

Set the memory area to be plotted (with the "mem" driver) as the `dev` member of the stream structure. Also set the number of pixels in the memory passed in `plotmem`, which is a block of memory `maxy` by `maxx` by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)

This memory will have to be freed by the user!

`maxx` (`PLINT`, input) Size of memory area in the X coordinate. `maxy` (`PLINT`, input) Size of memory area in the Y coordinate. `plotmem` (`void *`, input) Pointer to the beginning of the user-supplied memory area.

Redacted form: `plsmem(maxx, maxy, plotmem)`

This function is not used in any examples.

Prev | Home | Next
`plsmaj`: Set length of major ticks | Up | `plsmin`: Set length of minor ticks