hist_scale_buffer (buffer, xscale, xoffset, yscale, yoffset)
x' = x * xscale + xoffset
y' = y * yscale + yoffset
This function performs an offset and scaling transformation on a binary buffer of X-Y data pairs. The buffer is modified in place (i.e., a new buffer is not created, and the old values cannot be recovered). This function can be used to adjust data for graphing.
This function corresponds to the Cogent C API function HI_ScaleBuffer.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.