Program: PLOTSYM Purpose: Plot PGPLOT's marker- and Hershey symbols Category: PLOTTING, UTILITY File: plotsym.c Author: M.G.R. Vogelaar Keywords: GRDEVICE= Plot device: [LIST OF DEVICES] Destination of plot, Screen or Hardcopy. OPTION= 1=Plot markers, 2=Plot Hershey symbols: [1] 1: Plot one page with rows x columns graph markers starting with marker index -1. 2: Plot Hershey symbols in pages with rows x columns symbols. Boxes with undefined Hershey symbols are not displayed, so the symbol numbers are not consecutive. Page numbers are set with PAGENR=. ROWCOL= Give number of rows, columns to display: [CALCULATED] One page has rows x columns boxes with symbols. CHARHEI= Give char.height in mm for symbols,numbers: [CALCULATED] In the default situation, both symbol- and number heights are the same. ** PGWIDTH= Give line width 1..21: [1] Width for characters, symbols and lines. ** PGFONT= Give font 1..4: [2] 1: (default) a simple single-stroke font ("normal" font) 2: roman font 3: italic font 4: script font PAGENR= Give page number <= %d (0=exit): [NEXT PAGE] This keyword is used to browse through the plot pages for OPTION=2 (Hershey symbols). Description: A Graph Marker is a symbol, such as a cross, dot, or circle, drawn on a graph to mark a specific point. Usually the symbol used will be chosen to be symmetrical with a well-defined center. In most GIPSY applications a marker is identified by a number given with a keyword like SYMBOL=. The symbol number can be: -1, to draw a dot of the smallest possible size (one pixel); 0--31, to draw any one of the symbols in Figure obtained with OPTION=1 or 33--127, to draw the corresponding ASCII character (the character is taken from the currently selected text font); or >127, to draw one of the Hershey symbols in the plot obtained with OPTION=2. Text in plots can contain special symbols. The total number of different symbols available is about 1000. Each symbol is composed of a set of vectors, based on digitized type fonts devised by A. V. Hershey of the US Naval Postgraduate School, and each symbol is assigned a number in the range 0--4000. Any character can be inserted in a text string using an escape sequence of the form \(nnnn), where nnnn is the Hershey number. Notes: The Hershey symbols 0--127 are not the same symbols as the graph markers with corresponding numbers. For higher numbers all Hershey symbols can be used as graph markers. Example: Updates: Dec 22, 1994: VOG, Document created.