pllightsource: Sets the 3D position of the light source

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

### `pllightsource`: Sets the 3D position of the light source

`pllightsource` (x, y, z);

Sets the 3D position of the light source for use with `plsurf3d`.

`x` (`PLFLT`, input) X-coordinate of the light source. `y` (`PLFLT`, input) Y-coordinate of the light source. `z` (`PLFLT`, input) Z-coordinate of the light source.

Redacted form: `pllightsource(x, y, z)`

This function is used in example 8.

Prev | Home | Next
`pllab`: Simple routine to write labels | Up | `plline`: Draw a line