WFSET

Purpose:

Sets the attributes of a Waterfall plot.

Syntax:

WFSET(hide, hstyle, hintv, h_exp, v_exp)

hide

-

Optional. An integer, the line hiding flag:

0:

no line hiding

1:

remove hidden lines (default)

hstyle

-

Optional. An integer, the cross-hatch style:

0:

no cross hatch

1:

on x-axis tics

2:

on each point (default)

3:

user defined interval

hintv

-

Optional. A real, the user defined hatch interval. Meaningful only when hstyle is 3, user defined.

h_exp

-

A real. The expansion factor to shift traces horizontally.

v_exp

-

A real. The expansion factor to shift traces vertically.

Returns:

Nothing. Effects are seen when Window is next plotted.

Example:

ravel(grand(100,1),10);setplottype(1);wfset(-1,-1,-1, 0.01)

 

reduces the horizontal shift to 1 percent.

 

ravel(grand(100,1),10);setplottype(1);wfset(0,0,0,0,1)

 

removes the horizontal shift and line hiding, so the surface becomes 2 dimensional, with each column vertically shifted up the screen.

 

wfset(-1, 4)

 

turns off the grids in a waterfall plot.

Remarks:

The expansion factors are expressed as a fraction which is multiplied by the range of the data and added in to the starting point of the trace. Defaults are 0.03 and 0.03, which shift each trace up by three percent and over by three percent.

 

Typically, a Waterfall plot is created and WFSET is then used to change its plot attributes.

See Also:

WATERFALL