imat_vtkplot/lightingstyle (+FEA)


Purpose

Set the lighting style.

Syntax

hplot.lightingstyle(['shadows',onoff])
hplot.lightingstyle('shadows','off')

Description

LIGHTINGSTYLE sets the options for lighting effects on the plot. If no values are passed in, the COLORRANGE GUI will be presented.

ONOFF is a string, either 'on' or 'off'. Passing in the string 'on' will enable the shadow effects, and passing in the string 'off' will disable the shadow effects.