ABS(x) Returns the absolute value(s) of x. ACOS(x) Returns the arc cosine of x in radians. The result ranges from 0 to pi. Multiply by "#R.D" to get degrees. ALOG(x) Returns the natural logarithm of x. See also: "ALOG10", "LOG1P" ALOG10(x) Returns the decimal logarithm (base 10) of x. See also: "ALOG", "LOG1P" AREA,bitmap [, seed, numbers] or AREA(bitmap [, seed, numbers]) Identifies one or all disjoint areas in 2D integer array which have value one. Elements with values other than one are disregarded. The identified areas in are filled with a number which uniquely label them. These numbers are either read from , or started at 2 and incremented by 1 for each new area. The function version of "AREA" returns a 1D array containing (grouped by area) the indices of all elements of which belong to an identified area. The first element of such an area has its index multiplied by -1. contains positions within the areas to be identified. If it is not specified, then all areas are identified. Specify the seeds as indices to the bitmap. , if defined, must have the same size as . If no area is found at the seed positions (or at all), then is not modified, and the function returns the scalar -1. ARRAY(type,dimensions) Return an array of indicated (0 through 4 for I*1, I*2, I*4, F*4, and F*8, respectively) and . The latter may be an array containing the dimensions, or a list of up to 8 dimensions. See also: "BYTARR, INTARR, LONARR, FLTARR, DBLARR" ASIN(x) Returns the arc sine of x in radians. The result ranges from -pi/2 to pi/2. Multiply by "#R.D" to get degrees. See also: "ACOS, ATAN" ASSOC(lun,array) Set up an associated variable for logical unit . Associates the lun with an array of type and structure of . See also: " OPENR, DATA TYPES" ATAN(x) Returns the arc tangent of x, in radians. The result ranges from -pi/2 to pi/2. Multiply by "#R.D" to get degrees. Reverse: " TAN" See also: "ATAN2, ACOS, ASIN" ATAN2(x,y) Returns the angle between the point with coordinates (x,y) and the positive x-axis, counting counterclockwise and in radians. Multiply by "#R.D" to get degrees. See also: "ATAN" ATOL(string, [base]) Converts an ASCII string to a long integer with specified base. The base is optional and defaults to base 10. Only one integer is extracted from the string and the first unrecognized character ends the decoding. Uses include converting octal and hex strings to an integer. ATOMIZE,symbol [,dump] For debugging. Tries to resolve the ANA executable symbol with number and prints the result. If is set and unequal to zero, then encountered atomic entities (proper ANA variables) are also "DUMP"ed. See also: " DUMP, SHOW" BATCH [,value][,/QUIT] Toggle batch mode. In batch mode, all input is read from the current input stream. In direct (= non-batch) mode, commands are read from the current input stream, but requested data is read from the keyboard. If is zero, or not specified, then batch mode is entered. Otherwise, direct mode is selected. BESSEL_J0(x) Returns the value of the zero-order Bessel function of the first kind, at ordinate x. See also: "BESSEL_JN" Alias: "BJ0" BESSEL_J1(x) Returns the value of the first-order Bessel function of the first kind, at ordinate x. See also: "BESSEL_JN" Alias: "BJ1" BESSEL_JN(x,order) Returns the value of the Bessel function of the first kind, and of the given , at ordinate x. See also: "BESSEL_J0, BESSEL_J1, BESSEL_YN" Alias: "BJN" BESSEL_Y0(x) Returns the value of the zero-order Bessel function of the second kind, at ordinate x. See also: "BESSEL_JN, BESSEL_YN" Alias: "BY0" BESSEL_Y1(x) Returns the value of the first-order Bessel function of the second kind, at ordinate x. See also: "BESSEL_JN, BESSEL_YN" Alias: "BY1" BESSEL_YN(x,order) Returns the value of the Bessel function of the second kind, and of the given , at ordinate x. See also: "BESSEL_Y0, BESSEL_Y1, BESSEL_JN" Alias: "BYN" BJ0(x) Returns the value of the zero-order Bessel function of the first kind, at ordinate x. See also: "BJN" Alias: "BESSEL_J0" BJ1(x) Returns the value of the first-order Bessel function of the first kind, at ordinate x. See also: "BJN" Alias: "BESSEL_J1" BJN(x,order) Returns the value of the Bessel function of the first kind, and of the given , at ordinate x. See also: "BJ0, BJ1, BYN" Alias: "BESSEL_JN" BMAP(x) Maps x byte for byte into a byte (I*1) array. See also: "SMAP, WMAP, LMAP, FMAP, DMAP" BY0(x) Returns the value of the zero-order Bessel function of the second kind, at ordinate x. See also: "BJN, BYN" Alias: "BESSEL_Y0" BY1(x) Returns the value of the first-order Bessel function of the second kind, at ordinate x. See also: "BJN, BYN" Alias: "BESSEL_Y1" BYN(x,order) Returns the value of the Bessel function of the second kind, and of the given , at ordinate x. See also: "BY0, BY1, BJN" Alias: "BESSEL_YN" BYTARR(dimensions) Return an I*1 array of the specified . The latter may be an array containing the dimensions, or a list of up to 8 dimensions. See also: "ARRAY, INTARR, LONARR, FLTARR, DBLARR" BYTE(x) Returns a byte (I*1) version of x. See also: "WORD, LONG, FLOAT, DOUBLE" BYTGHOST(file, dimensions) Links an I*1 array structure with the specified to the specified . may be an array, or a list of up to ten dimensions. No file checks are made. See also: "GHOST ARRAY, ARRAY" C,string,x,y [,size,theta,font,flag][,/DEV,/DVI,/IMG,/PLT,/RIM,/RPL] Calligraphy. Synonym of CALLIG. CALLIG,string,x,y [,size,theta,font,flag][,/DEV,/DVI,/IMG,/PLT,/RIM,/RPL] Draws characters from the Hershy set. After the call, "!XC" and "!YC" contain the coordinates of the point just after the last drawn character. The characters are drawn in device-independent coordinates, which means they will look squashed if the display is not square. You may tweak this using "!CRATIO", an extra scaling factor for the characters' y size. = characters to be drawn. Control characters are preceded by a dollar sign $: .ll- . 0..9 - font change to the specified font . A, a - move up, but keep same size. . E, e - move up, scale size by factor 0.7. (exponent) . I, i - move down, scale size by factor 0.7. (index) . B, b - move down, keep same size . N, n - negate combined action of previous A, E, I, and B-s . $ > < - draw $, >, or < . S, s - save current position . R, r - restore saved position . X, x - restore entry font . C, c - change size to number that follows . * . - draw a star or a bullet .. .lll= . = position in display. Either pixels or device-independent units. . = scale factor. By default equal to 1. . = rotation angle in degrees. By default zero. . = number of the entry font. . = pen flag. If equal to zero, the string isn't drawn. "!XC" and "!YC" are set as if the string had been drawn, however. .. Coordinate system keywords are available. Alias: "C" See also: "COORDINATE SYSTEMS" CBRT(x) Returns the cube root of x. CG2_OFF Redirects screen output to terminal screen. Not everywhere. See also: "CG2_ON" CG2_ON Redirects screen output to CG board. Not everywhere. See also: "CG2_OFF" CHECKMENU([menu]) Returns 1 if an entry in menu has been selected but not yet read. Returns 0 otherwise. See also: "MENU, WAIT_FOR_MENU" CHECKWINDOW([window]) Returns 1 if the mouse has been clicked in the specified ANA window, or in any ANA window; 0 otherwise. "!IX, !IY, !XTIME, !WINDOW", and "!BUTTON" are modified appropriately if the mouse was clicked. See also: "XPLACE, CHECKMENU, XQUERY" CLASSNAME(class) Returns the name of the class. See also: "TYPENAME, SYMCLASS" CLOSE,lun Close the file on logical unit . See also: "OPENR, OPENW, OPENU" COLORPIXEL(color_index) Maps (possibly obtained with "SCALE") to pixel values that can be displayed on screen with "TVRAW". See also: "TVRAW, TVMAP, TV, SCALE" COMPRESS(image,xscale [,yscale]) Returns compressed by integer factors in the first, and (defaults to ) in the second dimensions. See also: "EXPAND, REGRID, REGRID3" CONCAT,x,y [,...] Concatenation .rl- . Calls: "CONCAT,x" - x is returned with one more dimensions (equal to 1). Scalars get upgraded to numerical arrays, strings to string arrays. . "CONCAT,x,y,..." - and up to 30 more scalars or arrays or strings are appended to x. .. Undefined arguments are ignored (as long as at least one argument is defined), so starting and appending to an array may be done without initialization. Either all arguments must be numerical, or all strings. Alias: "[" CONTOUR,image [,levels,xmin,xmax,ymin,ymax,style,dashsize,autocontour] Draw a contour plot of the part of with coordinates between and , and and , with contour levels determined by : if is a scalar, then that number of levels is used. If a 1D array, then those contour levels are used. If not specified, then "!CONTOUR_NLEV" is used.