Search Locate Previous Next Contents

chVline – Hi-Lo plots

This is a specialised plot for ranged data such as max-min temperatures, error-bars on scientific plots or ‘Hi-Lo-Close’ plots of market data. It expects a 2-column table giving the two Y-values to draw a vertical line between. If you omit the second column, it will draw lines down to zero from the Y-values in column-1.

chVline minmax

Examples

MAT„?15 2½4+¼6
chSet('Style' 'Boxed')('Head' 'Vline Plot')('Key' 'Hi-Lo,Close')
chVline MAT
chSet('Mark' 3)('mscale' 3)('Style' 'nolines,markers')
chPlot 0.5×+/MAT
PG„chClose

To plot the closing values (as shown here) simply overlay an XY plot with markers, but no lines.

See also ...
Min-Max Style


Continue to: chXbar – bar charts with a defined x-axis
© Copyright Causeway Graphical Systems Ltd 2003