NAME: rescale PURPOSE: (one line only) Scale data for plotting from one range to another. DESCRIPTION: CATEGORY: Plotting CALLING SEQUENCE: res=rescale(data,inrange,outrange) INPUTS: data - Vector of data to be rescaled inrange - range of input data outrange - range of output data OPTIONAL INPUT PARAMETERS: KEYWORD INPUT PARAMETERS: OUTPUTS: return value is a scaled copy of the input data KEYWORD OUTPUT PARAMETERS: COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: PROCEDURE: MODIFICATION HISTORY: 2011/02/07, Written by Marc W. Buie, Southwest Research Institute