1FL2INT(3NCARG) NCAR GRAPHICS FL2INT(3NCARG)
2
3
4
6 FL2INT - converts X and Y coordinates from the User Coordinate System
7 to the Metacode Coordinate System.
8
10 Metacode units are no longer used in NCAR Graphics; thus, FL2INT is
11 considered an obsolete routine.
12
13 The current recognized coordinate systems are GKS world coordinates,
14 GKS normalized device coordinates, NCAR Graphics fractional
15 coordinates, and NCAR Graphics user coordinates. See the NCAR Graphics
16 document "NCAR Graphics Fundamentals, UNIX Version" for a description
17 of these coordinate systems.
18
19 FL2INT continues to be provided for compatibility of early NCAR
20 Graphics codes. If you are writing new code, we suggest that you use
21 user coordinates and fractional coordinates. The routines CUFX and
22 CUFY will convert from user coordinates to fractional coordinates.
23 CFUX and CFUY will convert fractional coordinates to user coordinates.
24
25 The following definition of the Metacode Coordinate System is included
26 for the purpose of interpreting and converting codes:
27
28 The metacode coordinates of a point are integers IMX and IMY between 0
29 and 32767 inclusive. The area addressed is a square in a "metacode
30 space" that is usually mapped into a square subset of the addressable
31 area of the plotting device. Metacode coordinates were used in calls
32 to the routine PLOTIT and are returned in calls to FL2INT.
33
35 CALL FL2INT (PX,PY,IX,IY)
36
38 PX (an input expression of type REAL) is the X coordinate of a
39 point in user coordinates.
40
41 PY (an input expression of type REAL) is the Y coordinate of a
42 point in user coordinates.
43
44 IX (an output variable of type INTEGER) is the X coordinate of
45 the point in metacode coordinates.
46
47 IY (an output variable of type INTEGER) is the Y coordinate of
48 the point in metacode coordinates.
49
51 To use FL2INT, load the NCAR Graphics libraries ncarg, ncarg_gks, and
52 ncarg_c, preferably in that order.
53
55 Online: spps, plotit, cmfx, cmfy, cmux, cmuy, kfmx, kfmy, kmpx, kmpy,
56 kpmx, kpmy, kumx, kumy
57
58 Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for
59 NCAR GKS-0A Graphics
60
62 Copyright (C) 1987-2009
63 University Corporation for Atmospheric Research
64 The use of this Software is governed by a License Agreement.
65
66
67
68UNIX March 1993 FL2INT(3NCARG)