plGetCursor: Wait for graphics input event and translate to world coordinates.

`plGetCursor`: Wait for graphics input event and translate to world coordinates.
Prev | Chapter 19. The Specialized C API for PLplot | Next

#### `plGetCursor`: Wait for graphics input event and translate to world coordinates.

`int plGetCursor (` | gin`)`;

Wait for graphics input event and translate to world coordinates. Returns 0 if no translation to world coordinates is possible.

`gin` (`PLGraphicsIn *`, output)

  Pointer to PLGraphicsIn structure which will contain the output. The structure is not allocated by the routine and must exist before the function is called.

This function returns 1 on success and 0 if no translation to world coordinates is possible.

This function is currently only available with the C, C++, Ocaml, Octave, Perl, Python and Ada language bindings.

This function is used in examples 1 and 20.

Prev | Up | Next
`plFree2dGrid`: Free the memory associated with a 2-d grid allocated using `plAlloc2dGrid`. | Home | `plgfile`: Get output file handle