Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

High level tools for GKS graphics

Conference ·
OSTI ID:6852924
GKS graphics software provides a device independent method of producing graphics on a number of different devices, but it is a rather low level package which is difficult to use. The GPLOT Fortran library of graphics tools discussed here can be used to simplify the creation of scientific graphics with VAX GKS(GPL). GPLOT contains routines for drawing and labelling of axes for linear, log, and log-log plots. It supports the drawing of data curves with or without markers and/or error bars on the data points. It provides routines for producing a legend which automatically keeps track of the line type, color, and marker type used in producing each of the curves on a plot. There are also routines for producing contour plots, bar graphs and for drawing vectors with various types of arrow heads. GPLOT allows setting the text font by font name and attributes. It also allows the definition of switch characters to switch fonts or do subscripts and superscripts using instructions embedded in the string. GPLOT supports the GKS feature of multiple active workstations which allows creation of hardcopy plots while plotting to the screen. GPLOT supports creation of GKS metafiles and includes a program for interpreting and plotting GKS metafiles. It also supports graphics locator input with conversion of coordinates to user units if desired. To simplify user interaction during input, there are routines for switching between VT220 mode and graphics mode. A number of examples are presented. 12 refs., 6 figs.
Research Organization:
Argonne National Lab., IL (USA)
DOE Contract Number:
W-31109-ENG-38
OSTI ID:
6852924
Report Number(s):
CONF-880569-4; ON: DE89000587
Country of Publication:
United States
Language:
English