GINO Graphics Suite - GINOGRAF v9.5  

ggBlockFillStepChart

Syntax

[C/C++:]
void ggBlockFillStepChart(int nsteps, GSTEPCHART *steps, float base, int xory, int line);
[F90:]
subroutine ggBlockFillStepChart(nsteps, steps, base, xory, line)
integer, intent(in) :: nsteps, xory, line
type(GSTEPCHART), intent(in) :: steps(*)
real, intent(in) :: base

Arguments

nsteps
The number of steps to be plotted

steps
Array of dimension nsteps, giving the start and finish widths and height values of all the steps in the Step Chart

base
Base value in graphical coordinates which steps are filled to

xory
Flag determining which axis the data ranges are shown on, and on which axis the heights are shown

= GXAXIS Data on X axis, heights on Y axis
= GYAXIS Data on Y axis, heights on X axis

line
Line style to be used to fill each column

= GCURRENT Specifies the current line style
= 1 to 256 Specifies the line style index
>256 Specifies the current line style

Description

The routine ggBlockFillStepChart() draws block filled rectangles defined by the data ranges held in the components steps.s and steps.f and between the base value on the axis on which the steps.h values are measured and the height values held in the component steps.h. The display of the rectangles is drawn with respect to either the current axes, as set up by ggSetAxesPos() and ggSetAxesScaling(), or the default axes used by one of the high level routines. The widths of the columns, held in steps.s and steps.f, are shown on the X axis if xory=GXAXIS, and on the Y axis if xory=GYAXIS.

All the steps are solid filled in the line style specified by line whereas the colour, depth and angle of the extrusions are determined by the current block fill settings as set by ggSetBlockChartAttribs(). The outline of each area is drawn in the current GINO line style.

See Also

ggBlockFillStepChart Usage
ggSetBlockChartAttribs