DADiSP Worksheet Functions > Function Categories > Display and Manipulation > BARTOP

 

BARTOP

Purpose:

Sets coloring of the top face of a 3D bar plot.

Syntax:

BARTOP(win, mode)

win

-

Optional. A Window, defaults to the current Window.

mode

-

Optional. An integer, the bar top coloring mode:

0:

Do not color bar tops (default)

1:

Color bar tops

Returns:

If mode is not specified,  returns the current bar top coloring mode.

Example:

W1: xyz(gsin(10,.1),gcos(10,.1),1..10);bars;bartop(1)

 

The tops of the resulting 3D bar plot are colored with the current axes color (default black).

Remarks:

Coloring the tops of the bar plot can help clarify the orientation if the plot is rotated.

 

BARTOP is a Window property. All 3D bar plots plotted in the Window will be drawn in the current BARTOP mode.

See Also:

BARCTR

BARGAP

BARS

BARSTYLE

ROTATE3D

SPIN

XYZ