vtkBAR Procedure
Creates a plot of 3D cylinders.
Usage
vtkBAR, z
Input
z—A 2D array
Keywords
Diameter—The diameter of the cylinders in pixels. (Default = 10)
Spacing—The spacing between the centers of cylinders in pixels. (Default = 1.5 * diameter)
Colors—An array of color values to use. (Default = 255)
Ncolors—The maximum number of colors to use. (Default = 1)
Background—The background color to use. (Default = 11)
Resolution—An integer, the number of facets of the cylinders. (Default = 8)
Barmin—A byte, the elevation of the base plane in the same units as z. (Default = MIN(z))
Noplane—If set, the base plane is not drawn.
Scale—A float, a value to scale the height of the cylinders by. VTK uses absolute sizes, so the height of the cylinders needs to be some finite fraction of the x,y plane dimensions. The default value is computed as: scale = ([smallest dimension of z]*spacing)
Noerase—If set, the vtkWINDOW is not erased.
LOD—If set, the objects are created as Level-of-Detail actors.
NoAxes—If set, vtkAXES are not drawn.
Ax, Az—Rotation angles. (Default = 30, -30)
Norotate—If set, no camera rotation is performed.
Title—A string to add to the scene as a title.
The following keywords are passed to vtkBAR.
Example
loadct, 4 & vtkWindow, Back='00aaaa'X
vtkBar, DIST(6), NColors=128, Barmin=!pi/2, Scale=20
vtkBar, DIST(6), RowColors=[75,100,133,166,200,250], Back=50
vtkBar, DIST(6), Res=4, Dia=20, Spacing=20, Scale=25, /NoPlane