Version: 1.2, May 1991 Submitted By: Richard Desper, Army Materials Technology Lab Operating System: VAX/VMS, MicroVMS Source Language: VAX FORTRAN Keywords: Graphics Hardware Requirements: VT125 Series Terminal Notes: The following DIGITAL graphics printers are optional devices supported by VAX RGL, Version 1.2: LA12, LA34-VA, LA50, LA100, LA210, and LN03 PLUS. With one of these printers attached to a VT125 video terminal, VAX RGL can then be instructed to print a copy of the graphics screen on the hardcopy printer. An RGB color monitor is an optional device that can be attached to the VT125. VAX RGL provides independent control over the colors on the RGB monitor and the gray shades on the VT125 video terminal. Program operating under VAX/VMS Version 4.6 was last legal certification. For VAX systems, VAX/VMS operating system and VAX FORTRAN are required. For MicroVAX Systems (I and II), VAX FORTRAN and both the MicroVMS Extended Base component and the MicroVMS Program Development component are required. Files for fixes for the VT240 terminal have not been included. Changes & Improvements: Includes an installation command file. Corrected calling names provided for ten subroutines. Example and Library source files placed in separate directories. Abstract: VAX ReGIS Graphics Library (RGL) is a software package that
consists of picture-drawing and data-plotting routines.
Picture Drawing Capabilities
Control - Initializes and controls parameters. Sets
various flags within VAX RGL determining, for example, whether
angular data can be passed as degrees or radians, or whether
error messages can be printed on the terminal.
Screen Control - Defines viewports on the terminal and
provides methods of clearing various portions of the
screen.
Attribute Control - Controls terminal attributes such as
shading, line patterns, and writing modes.
Picture Objects - Draws various picture objects, such as
lines, markers, boxes, arcs, circles, and regular polygons
on the screen.
Transformations - Provides a set of two-dimensional
transformations including rotation, translation, and
scaling, both singly and in combination.
Graphic Text - Controls text parameters, such as size and
placement.
Saving or Restoring Pictures - Copies various portions of
the screen to the optional graphics printer and provides a
method of saving ReGIS strings for later recall.
Locators - Returns the current screen position in the
user's coordinate system and allows points on the screen to
be digitized.
Color Support - The user can define up to 64 colors and
reference them by name. The system provides eleven
predefined colors and gray scales. Four out of 64 colors
can be displayed simultaneously via a slave color monitor to
the VT125.
Alternate Character Set - Loads and uses alternate
character sets. English and Greek character fonts are
provided.
Macrograph Support - Accesses ReGIS macrograph facilities.
Data Plotting Capabilities
The data plotting facilities define and label graph
"paper" on the screen. The plotting subroutines are divided
into static and dynamic segments. Static routines display
all the user's data in one call. Dynamic routines allow
point plotting (data added to a previously defined graph
"paper") and continuous display mode (data scrolled left or
right).
Setting Graph "Paper" - Defines any of the following graph
"papers": linear, logarithmic, polar, or probability.
Labeling and Scaling Axes - Performs numeric and
alphanumeric labeling and scaling of the axes.
Data Plotting - Plots data arrays, points with optional
auto scaling, strip charts, and bar charts.
Cursor Support - Digitizes information within the graph
"paper". The cursors are moved by arrow keys on the
keyboard.