Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/tools/misc/

dgen.pro


FUNCTION: dgen(n) PURPOSE: returns an array of n doubles that are scaled between two limits. INPUT: n: number of data points. (uses 100 if no value is passed) KEYWORDS: one of the next 3 keywords should be set: XRANGE: uses !x.crange (current x limits) for the scaling. YRANGE: uses !y.crange (current y limits) for the scaling. RANGE: user selectable range. LOG: user selectable log scale (Used with RANGE) EXAMPLES: x = dgen(/x) ; Returns 100 element array of points evenly distributed along ; the x-axis.

Routines

top source dgen

result = dgen(n, range, LOG=LOG, RESOLUTION=RESOLUTION, pixel_res=pixel_res, RANGE=RANGE, XRANGE=XRANGE, YRANGE=YRANGE)

Parameters

n
range

Keywords

LOG
RESOLUTION
pixel_res
RANGE
XRANGE
YRANGE

File attributes

Modification date: Wed Dec 10 10:08:32 2014
Lines: 34