Index of OpenRM - RMV Library


 RMenum rmvI2ErrorPlot (RMvertex2D (*appgridfunc)(int i),
                        float (*appu1func)(int i),
			float (*appu2func)(int i),
			float (*appl1func)(int i),
			float (*appl2func)(int i),
			float (*appdata2func)(int i),
			RMvisMap *vmap,
			int axis_offset_flag,
			int npts,
			RMenum linewidth,
			RMenum linestyle,
			RMnode *n)
 RMvertex2D (*appgridfunc)(int i) - a handle to a caller-supplied
    function that returns an RMvertex2D (x, y) corresponding to the
    grid point (i) (input).
 float (*appu1func)(int i) - a handle to caller-supplied function that
    returns a lower bound float for the upper pair at the grid point
    (i) (input).
 float (*appu2func)(int i) - a handle to caller-supplied function that
    returns a upper bound float for the upper pair at the grid point
    (i) (input).
 float (*appl1func)(int i) - a handle to caller-supplied function that
    returns a lower bound float for the lower pair at the grid point
    (i) (input).
 float (*appl2func)(int i) - a handle to caller-supplied function that
    returns a upper bound float for the lower pair at the grid point
    (i) (input).
 float (*appdata2func)(int i) - a handle to a caller-supplied function
    that returns a scalar value for the grid point (i).  This value is
    used in conjunction with the RMvismap to compute vertex color.
 RMvisMap *vmap - a handle to an RMvisMap object (input).
 int axis_offset_flag - an RMenum specifying in which axis to
    offset the glyph.  Must be one of RMV_XAXIS_OFFSET,
    RMV_YAXIS_OFFSET (input).
 int npts - int specifying number of grid data points (input).
 RMenum linewidth_enum - an RMenum specifying the line width.  Must be
    one of RM_LINEWIDTH_NARROW, RM_LINEWIDTH_MEDIUM,
    RM_LINEWIDTH_HEAVY, or RM_LINEWIDTH_[1..8] (input).
 RMenum linestyle_enum - an RMenum specifying the lline style.  Must
    be one of RM_LINES_SOLID, RM_LINES_DASHED, RM_LINES_DOTTED,
    RM_LINES_DOT_DASH, or RM_LINES_DASH_DASH_DOT (input).
 RMnode *n - a handle to an RMnode (modified).

Creates an "error bar" plot for indicating data ranges. Pairs of error bars are plotted from the four caller-supplied functions, {u1, u2, l1, l2}. These functions return a data value for a given grid point and indicate a pair of data ranges {[l1..l2], [u1..u2]}. The secondary data function can be used with the RMvisMap to color the error bars.

Upon success, RM_CHILL is returned to the caller and the error plot geometry has been added to the RMnode. Otherwise, RM_WHACKED is returned.

librmv library source file: rmverrplot.c