vtkBAR Procedure
Creates a plot of 3D cylinders.
Usage
vtkBAR, z
Input
zA 2D array
Keywords
DiameterThe diameter of the cylinders in pixels. (Default = 10)
SpacingThe spacing between the centers of cylinders in pixels. (Default = 1.5 * diameter)
ColorsAn array of color values to use. (Default = 255)
NcolorsThe maximum number of colors to use. (Default = 1)
BackgroundThe background color to use. (Default = 11)
ResolutionAn integer, the number of facets of the cylinders. (Default = 8)
BarminA byte, the elevation of the base plane in the same units as z. (Default = MIN(z))
NoplaneIf set, the base plane is not drawn.
ScaleA 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)
NoeraseIf set, the vtkWINDOW is not erased.
LODIf set, the objects are created as Level-of-Detail actors.
NoAxesIf set, vtkAXES are not drawn.
Ax, AzRotation angles. (Default = 30, -30)
NorotateIf set, no camera rotation is performed.
TitleA 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