home *** CD-ROM | disk | FTP | other *** search
- /*
- * Global variables for C plotting package
- *
- * device : Graphics device number
- * termin : Zero for noninteractive device, non-zero for terminal
- * graphx : Zero if currently in text mode, non-zero for graphics mode
- * currx : Physical x-coordinate of current point
- * curry : Physical y-coordinate of current point
- * vpp... : Viewport boundaries in physical coordinates
- * spp... : Subpage boundaries in physical coordinates
- * clp... : Clip boundaries in physical coordinates
- * phy... : Physical device limits in physical coordinates
- * nsub. : Number of subpages on physical device
- * cursub : Current subpage
- * um. : Number of micrometres in a pixel
- * font : Current default font
- * colour : Current default colour
- * width : Current pen width
- * mark : Array of mark lengths in micrometres for broken lines
- * space : Array of space lengths in micrometres for broken lines
- * nms : Number of elements for current broken line style
- * timecnt : Timer for broken lines
- * alarm : Alarm indicating change of broken line status
- * pendn : Flag indicating if pen is up or down
- * curel : Current element within broken line
- * inclin : Array of inclinations in tenths of degree for fill lines
- * delta : Array of spacings in micrometers between fill lines
- * nps : Number of distinct line styles for fills
- * level : Initialization level
- *
- * spd... : Subpage boundaries in normalized device coordinates
- * vpd... : Viewport boundaries in normalized device coordinates
- * vpw... : Viewport boundaries in world coordinates
- * .pmm : Number of pixels to a millimetre
- * wp.... : Transformation variables for world to physical conversion
- * dp.... : Transformation variables for device to physical conversion
- * mp.... : Transformation variables for millimetres from bottom left
- * hand corner to physical coordinates
- * wm.... : Transformation variables for world coordinates to mm
- * chr... : Character default height and current (scaled) height
- * sym... : Symbol default height and current (scaled) height
- * maj... : Major tick default height and current (scaled) height
- * min... : Minor tick default height and current (scaled) height
- * base3. : World coordinate size of base for 3-d plot
- * basec. : Position of centre of base for 3-d plot
- * dom... : Minimum and maximum values for domain
- * zzscl : Vertical (z) scale for 3-d plot
- * ran.. : Minimum and maximum z values for 3-d plot
- * c.. : Coordinate transformation from 3-d to 2-d
- */
-
- extern PLINT device, termin, graphx;
- extern PLINT currx, curry;
- extern PLINT vppxmi, vppxma, vppymi, vppyma;
- extern PLINT sppxmi, sppxma, sppymi, sppyma;
- extern PLINT clpxmi, clpxma, clpymi, clpyma;
- extern PLINT phyxmi, phyxma, phyymi, phyyma;
- extern PLINT nsubx, nsuby, cursub;
- extern PLINT umx, umy;
- extern PLINT font, colour, width, style;
- extern PLINT mark[], space[], nms, timecnt;
- extern PLINT alarm, pendn, curel;
- extern PLINT inclin[], delta[], nps;
- extern PLINT level;
-
- extern PLFLT spdxmi, spdxma, spdymi, spdyma;
- extern PLFLT vpdxmi, vpdxma, vpdymi, vpdyma;
- extern PLFLT vpwxmi, vpwxma, vpwymi, vpwyma;
- extern PLFLT xpmm, ypmm;
- extern PLFLT wpxscl, wpxoff, wpyscl, wpyoff;
- extern PLFLT dpxscl, dpxoff, dpyscl, dpyoff;
- extern PLFLT mpxscl, mpxoff, mpyscl, mpyoff;
- extern PLFLT wmxscl, wmxoff, wmyscl, wmyoff;
- extern PLFLT chrdef, chrht;
- extern PLFLT symdef, symht;
- extern PLFLT majdef, majht;
- extern PLFLT mindef, minht;
- extern PLFLT base3x, base3y, basecx, basecy;
- extern PLFLT domxmi, domxma, domymi, domyma;
- extern PLFLT zzscl, ranmi, ranma;
- extern PLFLT cxx, cxy, cyx, cyy, cyz;
-